Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 6df87f50951859efcb589a324498e6dc4a69f5ed https://github.com/Perl/perl5/commit/6df87f50951859efcb589a324498e6dc4a69f5ed Author: Karl Williamson <k...@cpan.org> Date: 2024-01-02 (Tue, 02 Jan 2024)
Changed paths: M locale.c M perl.h Log Message: ----------- Revert "Experimentally enable glibc undocumented querylocale()" This reverts commit 2ba88c8c7f1c33fe9f3145cbd2c4de3b1668efe9. It turns out that that commit causes a porting test failure on the rare Configuration where the POSIX 2008 locale API is used on a system without threads. (Someone might want to do that on platforms where setlocale() is buggy.) The next commit fixes this test. Normally that would just be a follow-on commit without this reversion. But to ensure that when the time comes to revert, the whole process is just one commit, this reversion is done, and the next commit reinstates this reverted commit plus adding the fix. Commit: 6eb3b0c7c89d29c37927b53a5142f06f8bd1621e https://github.com/Perl/perl5/commit/6eb3b0c7c89d29c37927b53a5142f06f8bd1621e Author: Karl Williamson <k...@cpan.org> Date: 2024-01-02 (Tue, 02 Jan 2024) Changed paths: M locale.c M makedef.pl M perl.h Log Message: ----------- Experimentally enable glibc undocumented querylocale() This is querylocale() by another name, and is undocumented, hence we haven't enabled it by default. But it seems to work fine. In order to gain wider experience in using it, it is here default-enabled through 5.39.9 (unless we decide to end the experiment earlier), at which point a compilation error will remind us to decide to keep it or take it out. I put the check in locale.c instead of the more obvious perl.h, because the definition would come earlier in perl.h than the PERL_VERSION macros are defined, and I don't think its worth moving things around for just a potential of a few releases. Compare: https://github.com/Perl/perl5/compare/b188d37a9688...6eb3b0c7c89d