Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 03e269a3672fae7697fd9cebd967b4d4ef6774c9
      
https://github.com/Perl/perl5/commit/03e269a3672fae7697fd9cebd967b4d4ef6774c9
  Author: Karl Williamson <k...@cpan.org>
  Date:   2025-07-22 (Tue, 22 Jul 2025)

  Changed paths:
    M locale_table.h
    M regen/locale.pl

  Log Message:
  -----------
  regen/locale.pl: Use 'USE_LOCALE" not 'NO_LOCALE'

NO_LOCALE is a Configure option used to override setting the internal
option USE_LOCALE.  Internal checks should use the internal version.

Not doing this caused z/OS to think it should be using locales on
threaded systems, whereas it shouldn't.

FYI, the reason this is is that the OS refuses to change the locale at
all once a second thread is started.  Perl relies on the ability to
change the locale at will to accommodate locales that have a comma be the
radix (decimal point) character and the huge amount of code that has
been written expecting that at all times a dot is the radix character.
This includes core code (which we could change) and XS code (which would
be overwhelming to change).


  Commit: 9054d08e4819d1f26c160c5deb2ab63e138f1a08
      
https://github.com/Perl/perl5/commit/9054d08e4819d1f26c160c5deb2ab63e138f1a08
  Author: Karl Williamson <k...@cpan.org>
  Date:   2025-07-22 (Tue, 22 Jul 2025)

  Changed paths:
    M makedef.pl
    M perl.h

  Log Message:
  -----------
  perl.h: Make sure USE_LOCALE is off if no locales available

It shouldn't be getting set anyway, but this makes it clear, and also
makes sure someone hasn't tried to define it with Configure


Compare: https://github.com/Perl/perl5/compare/bbfbc490422f...9054d08e4819

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to