Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 1869630897294168b9c80c0d986e7ea7ccb78382
      
https://github.com/Perl/perl5/commit/1869630897294168b9c80c0d986e7ea7ccb78382
  Author: Karl Williamson <k...@cpan.org>
  Date:   2024-02-05 (Mon, 05 Feb 2024)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Fix bug when -DNO_LOCALE_TIME

The logic for these preprocessor conditionals is wrong.  We must change
LC_CTYPE to match LC_TIME (if the platform requires it) even when
LC_TIME is confined to be the C locale, as happens when -DNO_LOCALE_TIME
is in effect in a Configuration.

But doing so allows for simplification and hence the complete removal of
these preprocessor conditionals, as the logic is already available in
the DEALING macros that this commit replaces the previous code with


Reply via email to