cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl-users Digest, Vol 19, Issue 30

From: Guirong Wang <guirong2004_at_yahoo.com>
Date: Wed, 28 Mar 2007 17:05:50 -0700 (PDT)

Hi, all
  I am trying to download some files from a web server to linux with the following command:
  curl -o filename http://www.domainpath.com/destfile
  The file was downloaded successfully. But when I tried to run the command again, I kept getting the following message:
  sh: unexpected EOF while looking for `"'
sh: -c: line 2: syntax error
   
  Anybody has any idea why I got this message?
   
  Thanks in advance.
  Karen
  

curl-users-request_at_cool.haxx.se wrote:
  Send curl-users mailing list submissions to
curl-users_at_cool.haxx.se

To subscribe or unsubscribe via the World Wide Web, visit
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
or, via email, send a message with subject or body 'help' to
curl-users-request_at_cool.haxx.se

You can reach the person managing the list at
curl-users-owner_at_cool.haxx.se

When replying, please edit your Subject line so it is more specific
than "Re: Contents of curl-users digest..."

Today's Topics:

1. Re: libcurl hangs in malloc_consolidate (Mark Wattier)
2. Will Weatherford/Lex/Lexmark is out of the office.
(weather_at_lexmark.com)

----------------------------------------------------------------------

Message: 1
Date: Mon, 26 Mar 2007 10:02:56 -0700
From: "Mark Wattier"
Subject: Re: libcurl hangs in malloc_consolidate
To: "the curl tool"
Message-ID:
<666d65dc0703261002p1914c869uf3c4aee755f397aa_at_mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I ultimately found some double-frees in other parts of my code, thanks
to valgrind. Removing these double-frees appears to resolve the
problem.

Thank you.

On 3/23/07, Mark Wattier wrote:
> I was not aware of valgrind. Thanks for that tip.
> Well, the problem goes away running valgrind. I have switched back and
> forth running with and without valgrind, and it is consistent - I get
> the problem without it every time, and valgrinds always makes the
> problem go away.
>
> A "Heisenbug" - lucky me...
>
> On 3/23/07, Daniel Stenberg wrote:
> > On Thu, 22 Mar 2007, Mark Wattier wrote:
> >
> > > The multiple accesses are simply done sequentially, by calling
> > > myapp_http_post2 multiple times. This is a single threaded program. It is
> > > forked from a parent process, but curl is initialized and only used in the
> > > child.
> > >
> > > I am also calling curl_free after using curl_escape, in the code that calls
> > > myapp_http_post2. Are there issues with using realloc in the callback
> > > function?
> >
> > Nope. I would suggest you try running your app with valgrind to see if it can
> > pinpoint something.
> >
> > Oh, and seeing this is about libcurl you should consider using the
> > curl-library mailing list instead to reach the libcurl hacking crowd.
> >
> > --
> > Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
> >
>

------------------------------

Message: 2
Date: Mon, 26 Mar 2007 16:01:39 -0400
From: weather_at_lexmark.com
Subject: Will Weatherford/Lex/Lexmark is out of the office.
To: the curl tool
Message-ID:

Content-Type: text/plain; charset="us-ascii"

I will be out of the office starting 03/26/2007 and will not return until
03/27/2007.

I am out of the office on vacation with no access to the Lexmark Network
and little access via cell phone. Please contact Monty Collingsworth
232-5671 or Andrew Soukup 232-1232 in my absence.

------------------------------

_______________________________________________
curl-users mailing list
curl-users_at_cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users

End of curl-users Digest, Vol 19, Issue 30
******************************************

 
---------------------------------
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
Received on 2007-03-29