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  <br...@clisp.org>
>
>       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