Re: double free or corruption error on post with libcurl
Date: Wed, 04 May 2005 12:14:53 -0600
That seems to have done the trick. It over 400,000 and running strong. I guess the libc is using linux threads and that is where I ran into problems. I found quite a few pages explaining in more detail now. Thanks for the quick response.
>>>Lars Nilsson <chamaeleon_at_gmail.com> 05/04/05 10:32 am >>>
On 5/4/05, Jeremy Brown <jbrown_at_novell.com> wrote:
>Here is how I compile it.
> gcc example.c `curl-config --libs` -lpthread -o example
>And finally here is how I run it.
>I really would like to use the libcurl library and hope to put some effort
>back into the project. But I won't have the ability to use it unless I can
>get past this bug.
Have you tried gcc -D_REENTRANT example.c `curl-config --libs`
-lphtread -o example?
Received on 2005-05-04