This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
locale.c: Tighten what is considered a LC variable
authorKarl Williamson <khw@cpan.org>
Sat, 25 Mar 2017 01:01:39 +0000 (19:01 -0600)
committerKarl Williamson <khw@cpan.org>
Mon, 6 Nov 2017 19:55:57 +0000 (12:55 -0700)
commitd5e32b932ce9902855a6a3afe374f68e28e2d701
tree395e59ddbc5dd825525b5a97bb07db8c755b69ff
parentcd999af93305983fce668cb62d89ab1f1b7d0ca5
locale.c: Tighten what is considered a LC variable

Things like LC_CTYPE are locale variables, but not LC_ctype nor
LC__CTYPE.  Prior to this commit all were treated as locale variables.
Many platforms have more locale variables than Perl knows about, e.g.,
LC_PAPER, and the code tries to catch all possibilities.
locale.c
t/run/locale.t