This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
locale.c: Fix dangling set of LC_NUMERIC to C
authorKarl Williamson <khw@cpan.org>
Fri, 23 Feb 2018 18:06:45 +0000 (11:06 -0700)
committerKarl Williamson <khw@cpan.org>
Sun, 25 Feb 2018 05:08:41 +0000 (22:08 -0700)
commit84f1d29fb1049df3954d8a72eb6066b0938dd5cb
treef0298e9e07ef62758f9925c6b6934a8ac7052607
parent82b1f6184ce0d08c1729e0b85f5109f539566be2
locale.c: Fix dangling set of LC_NUMERIC to C

In the past, we've kept LC_NUMERIC in the C locale, because so much code
relies on the radix character being a dot.  5.27.9 added an enhancement
that checks if the current locale already has it be a dot.  If so, it's
fine to keep the locale in that one.

The spot fixed by this commit didn't get updated to account for this
change.

(I realize that the docs also need to be updated; that will be in a
future commit)
locale.c