1 --- machdep_ldisx.c.orig 2003-05-20 15:20:48.000000000 -0700
2 +++ machdep_ldisx.c 2005-02-17 02:00:41.000000000 -0800
5 __FBSDID("$FreeBSD: src/lib/libc/gdtoa/machdep_ldisx.c,v 1.2 2003/04/09 05:58:43 das Exp $");
7 +#include "xlocale_private.h"
16 - strtopx(s, sp, &result);
17 + strtopx(s, sp, &result, __current_locale());
22 +strtold_l(const char * __restrict s, char ** __restrict sp, locale_t loc)
26 + NORMALIZE_LOCALE(loc);
27 + strtopx(s, sp, &result, loc);