Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 4767484d073fcbb1529a50e99fef7fd00886e899 https://github.com/Perl/perl5/commit/4767484d073fcbb1529a50e99fef7fd00886e899 Author: Karl Williamson <k...@cpan.org> Date: 2022-06-09 (Thu, 09 Jun 2022)
Changed paths: M locale.c M perl.h Log Message: ----------- DEBUG_L now also looks at environment variable Because locale initialization happens before command line processing, one can't pass a -DL argument to enable debugging of locale initialization. Instead, an environment variable is read then, and is used to enable debugging or not. In the past, code specifically had to test for this being set. This commit changes that so that debugging can automatically be enabled without having to write special code. Future commits will strip out those special checks. Commit: 94d521c01847bc76f0b0f87cdc214aa73f4bc391 https://github.com/Perl/perl5/commit/94d521c01847bc76f0b0f87cdc214aa73f4bc391 Author: Karl Williamson <k...@cpan.org> Date: 2022-06-09 (Thu, 09 Jun 2022) Changed paths: M locale.c Log Message: ----------- locale.c: Replace most #ifdef DEBUGGING lines THe previous commit enhanced the DEBUG macros so that they contain the logic that previously had to be done with conditional compilation statements. Removing them makes the code easier to read. Compare: https://github.com/Perl/perl5/compare/c9e4532004f5...94d521c01847