[Perl/perl5] 12bfaf: [inline.h] Silence "[-Wunknown-pragmas]" warnings ...

2024-01-30 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 12bfaf55b1cd5d72a7381be53a14e480fa3e70da
  
https://github.com/Perl/perl5/commit/12bfaf55b1cd5d72a7381be53a14e480fa3e70da
  Author: sisyphus 
  Date:   2024-01-31 (Wed, 31 Jan 2024)

  Changed paths:
M inline.h

  Log Message:
  ---
  [inline.h] Silence "[-Wunknown-pragmas]" warnings in MinGW builds.




[Perl/perl5] 94664d: XS::APItest: don't allow a NULL AV * through

2024-01-30 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 94664de147ae2d0866c8f79a7dce7ea237bc880a
  
https://github.com/Perl/perl5/commit/94664de147ae2d0866c8f79a7dce7ea237bc880a
  Author: Tony Cook 
  Date:   2024-01-31 (Wed, 31 Jan 2024)

  Changed paths:
M ext/XS-APItest/APItest.xs

  Log Message:
  ---
  XS::APItest: don't allow a NULL AV * through

e6c95c59c changed how av is initialised in multicall_return,
leaving it possible for it to be NULL after the switch.

Of course the values of "context" for that are invalid, so throw
an error.  This should also resolve this for Coverity and perhaps
other static analysis.

cid 480208




[Perl/perl5] fd723c: lib/locale.t:

2024-01-30 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/smoke-me/khw-env
  Home:   https://github.com/Perl/perl5
  Commit: fd723ca513cb6c89b1fcd7efe8f6ecfe086e2ffb
  
https://github.com/Perl/perl5/commit/fd723ca513cb6c89b1fcd7efe8f6ecfe086e2ffb
  Author: Karl Williamson 
  Date:   2024-01-30 (Tue, 30 Jan 2024)

  Changed paths:
M lib/locale.t

  Log Message:
  ---
  lib/locale.t:

Fixes #21697.

On some platforms, a locale name is specified in the code page (or
code set) that applies to it, rather than plain ASCII.  Windows, and
hence MingW, is the prime example.

The locale name for a particular Turkish variety found in MingW is
"Turkish_T?.1254" where the question marks represent different
characters that have meaning in the 1254 code page, but would look like
mojibake if I had reproduced their actual values here.

When doing a setlocale() here, if the current code page is incompatible
with the new one, it will fail; if compatible it will succeed.

On my box running MingW, locales are tried out by this test file in
alphabetical order, and the one before this Turkish happens to be Thai,
with a code page of 874.  Apparently 1254 is not compatible with 874, so
switching directly from Thai to Turkish fails.

The solution is to switch into a neutral code page before switching into
one being trialed.  "C" works in this case, and I suspect in all others.


  Commit: ee8bc0945742378c7c9ed9d85c1225ba380936eb
  
https://github.com/Perl/perl5/commit/ee8bc0945742378c7c9ed9d85c1225ba380936eb
  Author: Karl Williamson 
  Date:   2024-01-30 (Tue, 30 Jan 2024)

  Changed paths:
M charclass_invlists.h
M lib/unicore/Makefile
M lib/unicore/mktables
M lib/unicore/uni_keywords.pl
M regcharclass.h
M uni_keywords.h

  Log Message:
  ---
  mktables more verbose


  Commit: 6180ec1c319eed702fcc07519d6195455d7b63c1
  
https://github.com/Perl/perl5/commit/6180ec1c319eed702fcc07519d6195455d7b63c1
  Author: Karl Williamson 
  Date:   2024-01-30 (Tue, 30 Jan 2024)

  Changed paths:
M cpan/Pod-Simple/lib/Pod/Simple/BlackBox.pm

  Log Message:
  ---
  BlackBox dont use rare scripts


  Commit: be7102d6962b239e5a65a7e6649a01da65d3b19c
  
https://github.com/Perl/perl5/commit/be7102d6962b239e5a65a7e6649a01da65d3b19c
  Author: Karl Williamson 
  Date:   2024-01-30 (Tue, 30 Jan 2024)

  Changed paths:
M t/harness

  Log Message:
  ---
  XXX t/harness temp tweaks


  Commit: fc5b1617b0d506223c4843e0d8084a5dbb0e9aa8
  
https://github.com/Perl/perl5/commit/fc5b1617b0d506223c4843e0d8084a5dbb0e9aa8
  Author: Karl Williamson 
  Date:   2024-01-30 (Tue, 30 Jan 2024)

  Changed paths:
M t/harness

  Log Message:
  ---
  XXX skip croak.t under sanitizer


  Commit: 547e73d5ce5e98a71ef20399947d9608d5d8a304
  
https://github.com/Perl/perl5/commit/547e73d5ce5e98a71ef20399947d9608d5d8a304
  Author: Karl Williamson 
  Date:   2024-01-30 (Tue, 30 Jan 2024)

  Changed paths:
M t/porting/bincompat.t

  Log Message:
  ---
  skip bincompat.t


  Commit: 320fdd51ab58dc6430611bef9a5a681e69c8dd57
  
https://github.com/Perl/perl5/commit/320fdd51ab58dc6430611bef9a5a681e69c8dd57
  Author: Karl Williamson 
  Date:   2024-01-30 (Tue, 30 Jan 2024)

  Changed paths:
M t/TEST

  Log Message:
  ---
  Skip cpan testing message


  Commit: 274b504d4fbe6cd59f381b07c699cdbf25d601c7
  
https://github.com/Perl/perl5/commit/274b504d4fbe6cd59f381b07c699cdbf25d601c7
  Author: Karl Williamson 
  Date:   2024-01-30 (Tue, 30 Jan 2024)

  Changed paths:
M t/TEST

  Log Message:
  ---
  Also skip non-thread dist testing


  Commit: d517c455ab5d7f490129b4f740a232ad226125b9
  
https://github.com/Perl/perl5/commit/d517c455ab5d7f490129b4f740a232ad226125b9
  Author: Karl Williamson 
  Date:   2024-01-30 (Tue, 30 Jan 2024)

  Changed paths:
M cpan/Archive-Tar/t/02_methods.t

  Log Message:
  ---
  XXX skip Archive-Tar because of symlinks


  Commit: 8085448413a55f219516901c3b382aa21bd4d1e0
  
https://github.com/Perl/perl5/commit/8085448413a55f219516901c3b382aa21bd4d1e0
  Author: Karl Williamson 
  Date:   2024-01-30 (Tue, 30 Jan 2024)

  Changed paths:
M t/porting/cmp_version.t

  Log Message:
  ---
  XXX skip cmp_version.t because of sym links


  Commit: 22c62b9e0de331b52cc27c6832f120562a45ffb1
  
https://github.com/Perl/perl5/commit/22c62b9e0de331b52cc27c6832f120562a45ffb1
  Author: Karl Williamson 
  Date:   2024-01-30 (Tue, 30 Jan 2024)

  Changed paths:
M cpan/Sys-Syslog/t/syslog-inet-udp.t
M cpan/Sys-Syslog/t/syslog.t

  Log Message:
  ---
  XXX skip syslog tests because fail without LC_TIME


  Commit: 58f71ba6f4dd99b7b22ed95a3fc176a81bacb6d2
  
https://github.com/Perl/perl5/commit/58f71ba6f4dd99b7b22ed95a3fc176a81bacb6d2
  Author: Karl Williamson 
  Date:   2024-01-30 (Tue, 30 Jan 2024)

  Changed paths:
M dist/Tie-File/t/29a_upcopy.t

  Log Message:
  ---
  up timeout for dist/Tie-File/t/29a_upcopy.

[Perl/perl5] 551743: localeconv: Need to toggle current MONETARY locale...

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

  Changed paths:
M locale.c

  Log Message:
  ---
  localeconv: Need to toggle current MONETARY locale to desired one

localeconv() returns the values from the current locale.  Prior to this
commit we weren't always setting the current locale to the desired
LC_MONETARY one which is passed into this function.

Also update the comments for LC_NUMERIC to be accurate in this regard.

I discovered this in testing a rare Configuration that is unlikely to
occur in practice (and which I didn't note down at the time).  Since
LC_MONETARY is kept in the underlying locale, the desired locale is
likely to be that one, so the toggle is likely to be a no-op, which is
why this bug wasn't caught until now.




[Perl/perl5] f5ce97: locale.c: Remove redundant lock

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

  Changed paths:
M locale.c

  Log Message:
  ---
  locale.c: Remove redundant lock

This is a relic from a past implementation.  The operation is locked by
the gwLOCALE_LOCK macro just below, so this is redundant.