[Perl/perl5] 29e2ba: locale.c: Remove PERL_UNUSED_ARG

2024-01-04 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 29e2ba2cb5cd3460670ec96da9cd580ab6bb07b5
  
https://github.com/Perl/perl5/commit/29e2ba2cb5cd3460670ec96da9cd580ab6bb07b5
  Author: Karl Williamson 
  Date:   2024-01-04 (Thu, 04 Jan 2024)

  Changed paths:
M locale.c

  Log Message:
  ---
  locale.c: Remove PERL_UNUSED_ARG

'which_mask' is now always used




[Perl/perl5] a4a785: perl.h: #include locale_table.h even if NO_LOCALE

2024-01-04 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: a4a7852e2d7b351502f4123c66bf895b0acd14b7
  
https://github.com/Perl/perl5/commit/a4a7852e2d7b351502f4123c66bf895b0acd14b7
  Author: Karl Williamson 
  Date:   2024-01-04 (Thu, 04 Jan 2024)

  Changed paths:
M perl.h

  Log Message:
  ---
  perl.h: #include locale_table.h even if NO_LOCALE

It defines some symbols which help in this circumstance, and others
which would otherwise have to be #ifdef'd against in order to compile.




[Perl/perl5] 51844f: -DNO_LOCALE implies -DNO_LOCALE_COLLATE

2024-01-04 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 51844f8b3399f6b98d72a2d9fd78857881ccd79c
  
https://github.com/Perl/perl5/commit/51844f8b3399f6b98d72a2d9fd78857881ccd79c
  Author: Karl Williamson 
  Date:   2024-01-04 (Thu, 04 Jan 2024)

  Changed paths:
M locale_table.h

  Log Message:
  ---
  -DNO_LOCALE implies -DNO_LOCALE_COLLATE

This is a follow-on to the following commit,
which somehow missed this category.

 commit 08123d87ea3adde7ae36a205b3262804532efbed
 Author: Karl Williamson 
 Date:   Tue Dec 19 15:00:33 2023 -0700

   -DNO_LOCALE implies -DNO_LOCALE_CTYPE, etc.

 If we aren't to pay attention to locales in general; we certainly
 shouldn't be paying attention to individual locale categories.

 This commit allows for cleaner #ifdefs




[Perl/perl5] defd3f: locale.c: Skip a debug check if no LC_CTYPE

2024-01-04 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: defd3f3b3390b164997ff668a65b675fd2c6ac68
  
https://github.com/Perl/perl5/commit/defd3f3b3390b164997ff668a65b675fd2c6ac68
  Author: Karl Williamson 
  Date:   2024-01-04 (Thu, 04 Jan 2024)

  Changed paths:
M locale.c

  Log Message:
  ---
  locale.c: Skip a debug check if no LC_CTYPE

This check is done only when DEBUGGING is active; but it makes no sense
if LC_CTYPE can only be the C locale.




[Perl/perl5] c47cd9: lib/locale.t: Display thousands separator under debug

2024-01-04 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: c47cd9d318abeeaa738c84eb2ac5efe81c021b6f
  
https://github.com/Perl/perl5/commit/c47cd9d318abeeaa738c84eb2ac5efe81c021b6f
  Author: Karl Williamson 
  Date:   2024-01-04 (Thu, 04 Jan 2024)

  Changed paths:
M lib/locale.t

  Log Message:
  ---
  lib/locale.t: Display thousands separator under debug

This allows someone to run this test, which exercises, every locale on
the system, and see at a glance what this value is.  There is special
code to handle this value, and it is helpful to see what the system has
for it.  This does not affect normal operation; only when the test is
run with a debugging environment variable set.