This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix comments/pod for LC_NUMERIC not always C
authorKarl Williamson <khw@cpan.org>
Mon, 12 Mar 2018 18:24:04 +0000 (12:24 -0600)
committerKarl Williamson <khw@cpan.org>
Mon, 12 Mar 2018 18:47:18 +0000 (12:47 -0600)
commit9487427ba26d65e7adf5954069fc2fde3bdedf41
tree61eb06214fe38b3ff158e2c52e3b3464444a4947
parent02916c24e049d202108ea97c1e420790acb6090a
Fix comments/pod for LC_NUMERIC not always C

In recent Perl versions, the underlying locale for LC_NUMERIC has been
kept in C because XS code is expecting a dot radix character.  But if
the LC_NUMERIC locale has a dot, that is unnecessary.  (There is also
the thousands grouping separator which for safety we verify is empty.)
Thus 5.27 doesn't always keep the underlying locale in C; it does so
only if necessary.

This commit updates various comments and pods to reflect this change.
locale.c
perl.h