This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
locale.c: Avoid some more locale changes
authorKarl Williamson <khw@cpan.org>
Tue, 2 Jan 2018 19:25:35 +0000 (12:25 -0700)
committerKarl Williamson <khw@cpan.org>
Wed, 31 Jan 2018 05:35:09 +0000 (22:35 -0700)
commitc0d737a8a49d8d05f7e7bb8da1fa464876609f70
treeb37704ee73ff1bac2b37bb441183e3d8a6e2f89c
parent4c68b8158cd1ae60d36ecf980d2cdf34a560ccaf
locale.c: Avoid some more locale changes

In a few places here we can test if we are already in the locale we want
to be in, and not switch unnecessarily if so.
locale.c