[Perl/perl5]

2022-09-04 Thread Yves Orton via perl5-changes
  Branch: refs/heads/yves/fix_20161
  Home:   https://github.com/Perl/perl5


[Perl/perl5] aeff22: cop.h - fix warnings about i across setjmp

2022-09-04 Thread Yves Orton via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: aeff225d87d2f29d88da7859578fe95761d0a347
  
https://github.com/Perl/perl5/commit/aeff225d87d2f29d88da7859578fe95761d0a347
  Author: Yves Orton 
  Date:   2022-09-05 (Mon, 05 Sep 2022)

  Changed paths:
M cop.h

  Log Message:
  ---
  cop.h - fix warnings about i across setjmp

We can just do the count before and after.


  Commit: c304acb49dada68ec331d50f8af45f0dda83ba6a
  
https://github.com/Perl/perl5/commit/c304acb49dada68ec331d50f8af45f0dda83ba6a
  Author: Yves Orton 
  Date:   2022-09-05 (Mon, 05 Sep 2022)

  Changed paths:
M pp_ctl.c
M t/comp/retainedlines.t

  Log Message:
  ---
  pp_ctl.c - use try_yyparse() for eval

CATCH_GET is never true in this code, so we never called try_yyparse()
which in turn meant we leaked debug data from failed evals. With this
in place an eval that dies during compile will always be handled by
doeval_comp() properly.

This includes changes to t/comp/readlines.t so it tests code that
croaks during compile, which used to leak and fail test but was not
actually tested.

This fixes GH Issue #20161.


  Commit: 0a2c3307765fa93b7e275a0cc3c1112cd0a116eb
  
https://github.com/Perl/perl5/commit/0a2c3307765fa93b7e275a0cc3c1112cd0a116eb
  Author: Yves Orton 
  Date:   2022-09-05 (Mon, 05 Sep 2022)

  Changed paths:
M t/comp/retainedlines.t

  Log Message:
  ---
  t/comp/retainedlines.t - test eval "UNITCHECK{die}" also

We test BEGIN{die}, but not UNITCHECK{die}. Lets do both.


  Commit: d1a6746d8c2f7c8c63ed325c12310b651241c146
  
https://github.com/Perl/perl5/commit/d1a6746d8c2f7c8c63ed325c12310b651241c146
  Author: Yves Orton 
  Date:   2022-09-05 (Mon, 05 Sep 2022)

  Changed paths:
M pp_ctl.c
M t/op/eval.t

  Log Message:
  ---
  pp_ctl.c - handle UNITCHECK better

Make sure we actually return via pp_evalcomp() when UNITCHECK
inside of an eval dies.

Thanks to Bram for the work figuring this out.


  Commit: 59e36a288a938081959bdd2241f66aec60f8b7bf
  
https://github.com/Perl/perl5/commit/59e36a288a938081959bdd2241f66aec60f8b7bf
  Author: Yves Orton 
  Date:   2022-09-05 (Mon, 05 Sep 2022)

  Changed paths:
M pp_ctl.c

  Log Message:
  ---
  pp_ctl - guard PL_unitcheckav setup logic from cases where the array is empty


  Commit: f31da5f4a2666ea564a2ccf880fc3ccd9dce8ee5
  
https://github.com/Perl/perl5/commit/f31da5f4a2666ea564a2ccf880fc3ccd9dce8ee5
  Author: Yves Orton 
  Date:   2022-09-05 (Mon, 05 Sep 2022)

  Changed paths:
M cop.h
M handy.h

  Log Message:
  ---
  cop.h - show function name

Also add SAFE_FUNCTION__ which ensures that the value
is "UNKNOWN" on platforms that dont support __func__.


Compare: https://github.com/Perl/perl5/compare/202773ee0ae3...f31da5f4a266


[Perl/perl5] 02c1f9: locale.c: Add S_get_LC_ALL display()

2022-09-04 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/smoke-me/jkeenan/khwilliamson/replacement
  Home:   https://github.com/Perl/perl5
  Commit: 02c1f97a2e8f5e08952ea36465d005253a15777d
  
https://github.com/Perl/perl5/commit/02c1f97a2e8f5e08952ea36465d005253a15777d
  Author: Karl Williamson 
  Date:   2022-09-04 (Sun, 04 Sep 2022)

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

  Log Message:
  ---
  locale.c: Add S_get_LC_ALL display()

This encapsulates a common paradigm, helpful for debugging

It requires the calculate_LC_ALL to be additionally available when there
is no LC_ALL.


  Commit: be556cf0e4375636037d18a5b1f1dd9cf50e92e3
  
https://github.com/Perl/perl5/commit/be556cf0e4375636037d18a5b1f1dd9cf50e92e3
  Author: Karl Williamson 
  Date:   2022-09-04 (Sun, 04 Sep 2022)

  Changed paths:
M locale.c

  Log Message:
  ---
  locale.c: Add debugging check

If we run across the REPLACEMENT CHARACTER, its likely a mismatch
between LC_CTYPE and another category.  This panics on debugging builds.


Compare: https://github.com/Perl/perl5/compare/02c1f97a2e8f%5E...be556cf0e437


[Perl/perl5]

2022-09-04 Thread Yves Orton via perl5-changes
  Branch: refs/heads/yves/simple_header_cleanups
  Home:   https://github.com/Perl/perl5


[Perl/perl5] eff2e7: perl.h - remove duplicated code from commented exp...

2022-09-04 Thread Yves Orton via perl5-changes
  Branch: refs/heads/yves/ws_cleanup_headers
  Home:   https://github.com/Perl/perl5
  Commit: eff2e7410b5ef5b85330b1fe6f4e49dc42724d70
  
https://github.com/Perl/perl5/commit/eff2e7410b5ef5b85330b1fe6f4e49dc42724d70
  Author: Yves Orton 
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
M perl.h

  Log Message:
  ---
  perl.h - remove duplicated code from commented explanation


  Commit: d7e9828844ab53ea80016fa81e914b36bd11e496
  
https://github.com/Perl/perl5/commit/d7e9828844ab53ea80016fa81e914b36bd11e496
  Author: Yves Orton 
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
M intrpvar.h

  Log Message:
  ---
  intrpvar.h - change "char * *" into "char **"

Uniformity in such things is good.


  Commit: 247c057c6121cdf2d707e5c707ed93d0f2c3ed3f
  
https://github.com/Perl/perl5/commit/247c057c6121cdf2d707e5c707ed93d0f2c3ed3f
  Author: Yves Orton 
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
M intrpvar.h

  Log Message:
  ---
  intrpvar.h - move size declaration to a define

so it can be reused and so the PERLVAR() lines up better.


  Commit: 296b3c7efaefd5c2373d3bf11ce7cf562ea9b473
  
https://github.com/Perl/perl5/commit/296b3c7efaefd5c2373d3bf11ce7cf562ea9b473
  Author: Yves Orton 
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
M perlvars.h

  Log Message:
  ---
  perlvars.h - move length computation to a define

So it can be reused if necessary, also because it makes
parsing PERLVARx() statements easier, this is the only
place where such a definition has a parameter that contains
a parenthesis. Moving it to a define makes it easier to
parse these statements externally in some ways.


  Commit: 3f61abbf8e897ca8c63ac9443d5b8ad7e2a7b0b5
  
https://github.com/Perl/perl5/commit/3f61abbf8e897ca8c63ac9443d5b8ad7e2a7b0b5
  Author: Yves Orton 
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
M regexp.h

  Log Message:
  ---
  regexp.h - move semicolon to be before the comment.

This is the only struct in our manually maintained files where
there is a comment in front of the semicolon instead of after it.


  Commit: d341d972a26aedb82186b80ef12d0e8113ca49a0
  
https://github.com/Perl/perl5/commit/d341d972a26aedb82186b80ef12d0e8113ca49a0
  Author: Yves Orton 
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
M XSUB.h

  Log Message:
  ---
  XSUB.h - put STMT_END on its own line and lined up with STMT_START


  Commit: 710de51582b5303e71773a89f749f1fad4412bd2
  
https://github.com/Perl/perl5/commit/710de51582b5303e71773a89f749f1fad4412bd2
  Author: Yves Orton 
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
M perl.h

  Log Message:
  ---
  perl.h - put STMT_END on its own line, and lined up with STMT_START


  Commit: 7b1819f4bd96ab7b285429237f50f8712cae1381
  
https://github.com/Perl/perl5/commit/7b1819f4bd96ab7b285429237f50f8712cae1381
  Author: Yves Orton 
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
M regexp.h

  Log Message:
  ---
  regexp.h - put STMT_END on its own line and lined up with STMT_START


  Commit: 2ea6119274da686fffedca26e7d01178b66d0d17
  
https://github.com/Perl/perl5/commit/2ea6119274da686fffedca26e7d01178b66d0d17
  Author: Yves Orton 
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
M regcomp.h

  Log Message:
  ---
  regcomp.h - put STMT_START on its own line and lined up with STMT_END


  Commit: 178a0c8a52c18cc1a43cf027743baa8a0f7d6dc7
  
https://github.com/Perl/perl5/commit/178a0c8a52c18cc1a43cf027743baa8a0f7d6dc7
  Author: Yves Orton 
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
M pp.h

  Log Message:
  ---
  pp.h - put STMT_END on its own line and lined up STMT_START


Compare: https://github.com/Perl/perl5/compare/b1d52ac427d4...178a0c8a52c1


[Perl/perl5] dabcf8: Explicitly add nsl to libswanted on Solaris

2022-09-04 Thread Leon Timmermans via perl5-changes
  Branch: refs/heads/smoke-me/leont/nsl-solaris
  Home:   https://github.com/Perl/perl5
  Commit: dabcf8cd026263f23fc51c4e3b8bab77fc55484d
  
https://github.com/Perl/perl5/commit/dabcf8cd026263f23fc51c4e3b8bab77fc55484d
  Author: Leon Timmermans 
  Date:   2022-09-04 (Sun, 04 Sep 2022)

  Changed paths:
M hints/solaris_2.sh

  Log Message:
  ---
  Explicitly add nsl to libswanted on Solaris

7e19816aa8661ce0e984742e2df11dd20dcdff18 removed it from the default
list, but it is apparently still necessary on Solaris so we add it back
in the hints file.




[Perl/perl5]

2022-09-04 Thread Leon Timmermans via perl5-changes
  Branch: refs/heads/leont/nsl-solaris
  Home:   https://github.com/Perl/perl5


[Perl/perl5] dabcf8: Explicitly add nsl to libswanted on Solaris

2022-09-04 Thread Leon Timmermans via perl5-changes
  Branch: refs/heads/leont/nsl-solaris
  Home:   https://github.com/Perl/perl5
  Commit: dabcf8cd026263f23fc51c4e3b8bab77fc55484d
  
https://github.com/Perl/perl5/commit/dabcf8cd026263f23fc51c4e3b8bab77fc55484d
  Author: Leon Timmermans 
  Date:   2022-09-04 (Sun, 04 Sep 2022)

  Changed paths:
M hints/solaris_2.sh

  Log Message:
  ---
  Explicitly add nsl to libswanted on Solaris

7e19816aa8661ce0e984742e2df11dd20dcdff18 removed it from the default
list, but it is apparently still necessary on Solaris so we add it back
in the hints file.