cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: strdup

From: Ryan <meokid2_at_yahoo.com>
Date: Fri, 12 Jul 2013 18:12:03 +0800

On Jul 12, 2013, at 5:58 PM, Yang Tse <yangsita_at_gmail.com> wrote:

>> Does anybody has some hint how to make them compilable, still preserving
>> them for platforms implementing strdup() ?
>
> Attached (completely untested) patch should fix the issue. At least,
> as long as libcurl isn't built as a shared library with symbol hiding
> enabled.

Yeah, don't you think it would be a good idea to test the patch first before anyone does anything? The code could cause problems for all we know.

Ryan

>
> Give it a try,
> --
> -=[Yang]=-
> <libtest_strdup.patch>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-07-12