1 --- machdep_ldisdd.c.orig 2004-09-20 17:32:38.000000000 -0700
2 +++ machdep_ldisdd.c 2005-02-19 03:07:38.000000000 -0800
7 +#include "xlocale_private.h"
12 strtold(const char * __restrict s, char ** __restrict sp)
15 + return (long double)strtod_l(s, sp, __current_locale());
16 +#else /* LDBL_COMPAT */
19 + strtopdd(s, sp, (double *)&result, __current_locale());
21 +#endif /* LDBL_COMPAT */
25 +strtold_l(const char * __restrict s, char ** __restrict sp, locale_t loc)
28 + NORMALIZE_LOCALE(loc);
29 + return (long double)strtod_l(s, sp, loc);
30 +#else /* LDBL_COMPAT */
33 - strtopdd(s, sp, &result);
34 + NORMALIZE_LOCALE(loc);
35 + strtopdd(s, sp, (double *)&result, loc);
37 +#endif /* LDBL_COMPAT */