[PATCH] stdlib: Use __get_numeric_locale instead of __localeconv_l for decimal_point
Corinna Vinschen
vinschen@redhat.com
Thu Sep 6 12:22:00 GMT 2018
On Sep 5 21:25, Keith Packard wrote:
> 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>
> ---
> I think this is a simple optimization to avoid the extra work done in
> __localconv_l?
Looks reasonable.
Pushed.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20180906/362e6d50/attachment.sig>
More information about the Newlib
mailing list