[Perl/perl5]

2023-12-31 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/smoke-me/khw-21746
  Home:   https://github.com/Perl/perl5


[Perl/perl5] 7425ec: locale.c: Move macro definition to before first use

2023-12-31 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 7425ecc75c813d1dddfbda86480702b640c4b907
  
https://github.com/Perl/perl5/commit/7425ecc75c813d1dddfbda86480702b640c4b907
  Author: Karl Williamson 
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
M locale.c

  Log Message:
  ---
  locale.c: Move macro definition to before first use




[Perl/perl5] 8ce9e2: Remove references to nl_langinfo_l(), add comment

2023-12-31 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 8ce9e2ad86aaa355e1b082c0bb974e687d13a8cd
  
https://github.com/Perl/perl5/commit/8ce9e2ad86aaa355e1b082c0bb974e687d13a8cd
  Author: Karl Williamson 
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
M embed.fnc
M embed.h
M locale.c
M proto.h

  Log Message:
  ---
  Remove references to nl_langinfo_l(), add comment

This was missed when we earlier removed the use of this function.  I
have since run experiments using it, and found using it slows things
down considerably in the context where we planned to use it.




[Perl/perl5] b32a43: locale.c: Move declaration to first uses

2023-12-31 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: b32a43b992a3821c86771a30baa0f2715c5f6877
  
https://github.com/Perl/perl5/commit/b32a43b992a3821c86771a30baa0f2715c5f6877
  Author: Karl Williamson 
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
M locale.c

  Log Message:
  ---
  locale.c: Move declaration to first uses

C99 allows the clearer code of declaring a variable close to its use.

This also will be helpful in a future commit.




[Perl/perl5] 72a6c4: locale.c: Slightly change wording of DEBUG messages

2023-12-31 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 72a6c4e924896577c6bce49c372c8a62bc68894b
  
https://github.com/Perl/perl5/commit/72a6c4e924896577c6bce49c372c8a62bc68894b
  Author: Karl Williamson 
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
M locale.c

  Log Message:
  ---
  locale.c: Slightly change wording of DEBUG messages

This makes them more consistent with the other messages in this file.




[Perl/perl5] 08123d: -DNO_LOCALE implies -DNO_LOCALE_CTYPE, etc.

2023-12-31 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 08123d87ea3adde7ae36a205b3262804532efbed
  
https://github.com/Perl/perl5/commit/08123d87ea3adde7ae36a205b3262804532efbed
  Author: Karl Williamson 
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
M locale_table.h

  Log Message:
  ---
  -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] 465e0d: pp_hot.c: Avoid DIE in void function S_aassign_uid

2023-12-31 Thread Craig A. Berry
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 465e0d24ea4f5604e99f539540e31381c59ba2e8
  
https://github.com/Perl/perl5/commit/465e0d24ea4f5604e99f539540e31381c59ba2e8
  Author: Craig A. Berry 
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
M pp_hot.c

  Log Message:
  ---
  pp_hot.c: Avoid DIE in void function S_aassign_uid

f54903ed18841 moved some code from pp_aassign out to its own
function S_aassign_uid, but the new function is void and DIE
translates to "return Perl_die" which can lead to compiler
warnings about attempting to return a value from a void function.

So just call Perl_die directly without a return statement, which
is already a pretty common practice.




[Perl/perl5] 6eba35: Document warning on previous declaration of 'field...

2023-12-31 Thread James E Keenan via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 6eba35fced89a113ca937adab5c9ef60ca6862c1
  
https://github.com/Perl/perl5/commit/6eba35fced89a113ca937adab5c9ef60ca6862c1
  Author: James E Keenan 
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
M pod/perldiag.pod

  Log Message:
  ---
  Document warning on previous declaration of 'field' variable

Fixes GH #21783.