cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Lack of strdup

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 11 Jul 2006 23:31:12 +0200 (CEST)

On Tue, 11 Jul 2006, Dan Fandrich wrote:

> This was pretty tricky to solve because of all the macros in the memory
> debug code, but I've come up with a solution that seems to work; I ended up
> moving the strdup replacement into a new lib/strdup.c file as
> curlx_strdup().

Sounds like a fair approach!

> Anyone have an Ultrix system to try it out on? ;^)

Hopefully they're not around much these days! ;-)

So does it build fine for eCos now then?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-07-11