cURL / Mailing Lists / curl-users / Single Mail


Re: Problem with strdup

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

le 18/12/04 23:23, Daniel Stenberg à 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

Eric VERGNAUD - JLynx Software
Cutting-edge technologies and
services for software companies
Received on 2004-12-19