Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 122f4d2a7dc34f6663f58a8a7ff985cbb41421bc https://github.com/Perl/perl5/commit/122f4d2a7dc34f6663f58a8a7ff985cbb41421bc Author: Karl Williamson <k...@cpan.org> Date: 2023-08-13 (Sun, 13 Aug 2023)
Changed paths: M ext/POSIX/t/time.t M locale.c Log Message: ----------- strftime: Always restore LC_CTYPE locale my_strftime toggles LC_CTYPE to match LC_TIME to avoid mojibake. In reading the code, I realized that there was a code path that doesn't properly restore it, namely when failure is returned. This commit fixes that. A test is added, but is TODO until future commits fix other things.