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

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
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 <[email protected]>
> ---
> 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
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAluRHAIACgkQ9TYGna5E
T6D4+BAAnj/yfs7xhOgFVSrRT0kW+9sE/eVIpDA/zEQf1z8xYCTohnGr/9A09uKL
MJdL6K5g22dekGE0NRz089L6rEbSbD46oUC86rnMRhRZ6sNLmVpGHo+nZhF9HqCg
62EMW0lND5wbldRMbPIGkFn+8X0xMOyjF/W+WaR/aR4pwtYvO/jHNJ7FIaQb4xu+
AWvkx5meOn40KUbxzqQaVih5mUyV3GznTyGsoR54QN5WhYweCOztIVCcVKDvoUq0
pVhnGykNBQ4CWdgdhAFWk7tuWHpikNPeEcyavqGKLU7b5IdGmCaJasPQ9ZnIacuO
ErMtwJmcPJKRExpDRYLn51LiiBgb4GnM3ytXyoJSKtlTHsu1fjggWng0GqS/FMkU
BbpvBcNC6arTcGnW4oFM6YFCNgNMFGbne9FuZ3re+9B28u+6PHchA6SZSFRaZYww
dm1vBw4mxOYLh2gPmWbYbgutjRB1ca0bAJnGepwFOf8jfEXdBrByc5iSyLhE9Qwj
FYCwXTCN3Tk63Mel4h+B3cXuAMoCQmCVV4rzdOoX8jrxjxmYbWWa4L1JkZE0LnSc
djJmb+Jbdh5kqaZdW0KeyyB5kF53WTNO7o7DUwRKIQbZRS/jn1vvx16r2ouVwCf0
BY6N2fmmhlRixPsJN1An2BTreMxZMLpeSouRZrgUoWfMQZkloPI=
=n34R
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.