This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] stdlib: Use __get_numeric_locale instead of __localeconv_l for decimal_point


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

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]