This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Avoid changing locale when finding radix char
authorKarl Williamson <khw@cpan.org>
Thu, 18 Jan 2018 23:20:02 +0000 (16:20 -0700)
committerKarl Williamson <khw@cpan.org>
Wed, 31 Jan 2018 05:58:15 +0000 (22:58 -0700)
commite1aa2579a2006b68a3715befb8faa75a98bfb6cd
tree8ce4db59e7b1356da037b89da559bc88039186ec
parentdd2dbc5faf48a2985eee15f6f61fd81baec39198
Avoid changing locale when finding radix char

On systems that have the POSIX 2008 operations, including
nl_langinfo_l(), this commit causes them to not have to actually change
the locale when determining what the decimal point character is.

The locale may have to change during the printing/reading of numbers,
but eventually we can use sprintf_l(), if available, to avoid that too.
embedvar.h
intrpvar.h
locale.c
perl.c
sv.c