This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
POSIX.xs: Keep locale change to minimum span
authorKarl Williamson <khw@cpan.org>
Wed, 17 Jan 2018 00:38:45 +0000 (17:38 -0700)
committerKarl Williamson <khw@cpan.org>
Wed, 31 Jan 2018 05:49:03 +0000 (22:49 -0700)
commit9efd8fe512c23fd7db51f178082a865078fbddd6
treea62685531ab66e4569891c3d4b9da4fec9d97833
parent9fcdb54ca190652e65c92597e8d4822511a96d57
POSIX.xs: Keep locale change to minimum span

Move the restore to as close to the save as possible so that the locale
is in an unstable state for as short a time as possible.
ext/POSIX/POSIX.xs