Branch: refs/heads/smoke-me/khw-lc_numeric
Home: https://github.com/Perl/perl5
Commit: 2b624200132e7ecf83561d93c3f6634f6c277bb1
https://github.com/Perl/perl5/commit/2b624200132e7ecf83561d93c3f6634f6c277bb1
Author: Karl Williamson <[email protected]>
Date: 2022-06-25 (Sat, 25 Jun 2022)
Changed paths:
M cpan/version/t/07locale.t
Log Message:
-----------
cpan/version/t/07locale.t: Skip if no LC_NUMERIC
If the platform doesn't support LC_NUMERIC, it's not going to be able to
set the locale for that category
Commit: b686462278f70f9d50a4316e1c62f043d0ab9665
https://github.com/Perl/perl5/commit/b686462278f70f9d50a4316e1c62f043d0ab9665
Author: Karl Williamson <[email protected]>
Date: 2022-06-25 (Sat, 25 Jun 2022)
Changed paths:
M locale.c
Log Message:
-----------
Fix querying locale without LC_NUMERIC on platform
This fixes GH #19890.
This cleans up querying the current locale, which the blamed commit
caused a compilation error for on platforms without LC_NUMERIC. That
commit was written before we required C99, and being able to move
declarations to not be at the beginning of a block made me realize that
things could be simplified by a bit of refactoring, which this commit
does.
Compare: https://github.com/Perl/perl5/compare/2b624200132e%5E...b686462278f7