]> sourceware.org Git - newlib-cygwin.git/commit
stdlib: Use __get_numeric_locale instead of __localeconv_l for decimal_point
authorKeith Packard <keithp@keithp.com>
Thu, 6 Sep 2018 04:25:01 +0000 (21:25 -0700)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 6 Sep 2018 12:14:05 +0000 (14:14 +0200)
commit3b6994ec5f5fb47ba87fb3dae154cad21017b30d
treead556af6dc4258f8506694e2165e74514c6f9616
parent28ecec475ff423b368bcca329f42cfed29308d61
stdlib: Use __get_numeric_locale instead of __localeconv_l for decimal_point

The string/float conversion functions need to get the locale decimal
point. Instead of calling __localeconv_l (which copies locale data
into lconv form from __get_numeric_locale), use __get_numeric_locale
directly.

Signed-off-by: Keith Packard <keithp@keithp.com>
newlib/libc/stdlib/gdtoa-gethex.c
newlib/libc/stdlib/strtod.c
newlib/libc/stdlib/strtodg.c
newlib/libc/stdlib/wcstod.c
newlib/libc/stdlib/wcstold.c
This page took 0.030743 seconds and 5 git commands to generate.