bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: c-strtod, c-strtold: use MT-safe API when possible


From: Jim Meyering
Subject: Re: c-strtod, c-strtold: use MT-safe API when possible
Date: Sat, 12 Dec 2009 15:47:42 +0100

Bruno Haible wrote:
> On MacOS X 10.5, which has newlocale() and uselocale(), c-strtod is still
> compiled in a way that uses a non-MT-safe implementation:
>
> $ nm c-strtod.o
>          U ___error
> 00000000 T _c_strtod
>          U _free
>          U _setlocale
>          U _strdup
>          U _strtod$UNIX2003
>
> This fixes it, leading to:
>
> $ nm c-strtod.o
> 0000058c b _c_locale_cache
> 00000000 T _c_strtod
>          U _newlocale
>          U _strtod_l$UNIX2003
>
>
> 2009-12-12  Bruno Haible  <address@hidden>
>
>       c-strtod, c-strtold: Use multithread-safe implementation on MacOS X.
>       * modules/c-strtod (Depends-on): Add locale.
>       * modules/c-strtold (Depends-on): Likewise.

Thanks!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]