This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
POSIX/t/time.t: Reset LC_CTYPE to C
authorKarl Williamson <khw@cpan.org>
Thu, 28 Nov 2019 05:32:53 +0000 (22:32 -0700)
committerKarl Williamson <khw@cpan.org>
Thu, 28 Nov 2019 05:37:48 +0000 (22:37 -0700)
commit17ba3f1d5dd3bda8d0ed592ae9b211bb6fe81fcb
treeeb60d4d23e1fd6b6eaa7e8ab6a787d9cbcff911b
parent960e29a3c3f6a5247987299d95688588fc11983d
POSIX/t/time.t: Reset LC_CTYPE to C

The C standard says about the format in strftime(): "The format shall be
a multibyte character sequence, beginning and ending in its initial
shift state"

Tony Cook and I interpret that as meaning that to be sure, not only does
LC_TIME have to be reset, but LC_CTYPE to account for all possible
variations in these tests.
ext/POSIX/t/time.t