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

2009-12-12 Thread Jim Meyering
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 > T _c_strtod > U _free > U _setlocale > U _strdup > U _

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

2009-12-12 Thread Bruno Haible
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 T _c_strtod U _free U _setlocale U _strdup U _strtod$UNIX2003 This fixes it, leading