cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problem with strdup

From: Eric VERGNAUD <eric.vergnaud_at_jlynx.com>
Date: Sun, 19 Dec 2004 12:26:00 +0100

le 18/12/04 23:23, Daniel Stenberg à daniel-curl_at_haxx.se a écrit :

> I get confused. Why does libcurl use Apple's malloc/free but Metrowerk's
> strdup? The libc provided by Apple has a strdup too, surely?

I don't know how this happens, but the code for malloc and free is obviously
NOT in a static library, while strdup is. I guess that's the key to it.

Any way I'm asking Metrowerks how to recompile their lib using the system's
malloc.

-------------------------------
Eric VERGNAUD - JLynx Software
Cutting-edge technologies and
services for software companies
web: http://www.jlynx.com
-------------------------------
Received on 2004-12-19