cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Lack of strdup

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 11 Jul 2006 10:17:48 -0700

On Mon, Jul 10, 2006 at 04:13:55PM -0700, Dan Fandrich wrote:
> I'm trying to compile curl for eCos but am running into a snag in that
> eCos doesn't support strdup().

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(). Anyone have an Ultrix system to try it out on? ;^)

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-07-11