[Perl/perl5] 416ea0: regexec.c: fix warning about unused argument to ca...

2023-03-30 Thread mauke via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 416ea06b9fcd686a805c1090d6ceee022048d250
  
https://github.com/Perl/perl5/commit/416ea06b9fcd686a805c1090d6ceee022048d250
  Author: Lukas Mai 
  Date:   2023-03-31 (Fri, 31 Mar 2023)

  Changed paths:
M regexec.c

  Log Message:
  ---
  regexec.c: fix warning about unused argument to capture_clear

Previously:

regexec.c: In function ‘S_capture_clear’:
regexec.c:373:72: warning: unused parameter ‘str’ [-Wunused-parameter]
  373 | S_capture_clear(pTHX_ regexp *rex, U16 from_ix, U16 to_ix, const 
char *str comma_pDEPTH) {
  |
^~~




[Perl/perl5] ecf14c: locale.c: Don't use bit-wise 'or' when bool is meant

2023-03-30 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: ecf14c7348b18a7ae08c466d7c890cd4443285b7
  
https://github.com/Perl/perl5/commit/ecf14c7348b18a7ae08c466d7c890cd4443285b7
  Author: Karl Williamson 
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
M locale.c

  Log Message:
  ---
  locale.c: Don't use bit-wise 'or' when bool is meant

This thinko was exposed by smoke tests using an uncommitted test.

PEBKAC




[Perl/perl5] 4faffd: Config.pm - add taint_disabled and taint_support t...

2023-03-30 Thread David Cantrell via perl5-changes
  Branch: refs/heads/yves/taint_disabled
  Home:   https://github.com/Perl/perl5
  Commit: 4faffd7decce30ea588eb24cde907482dc9494b3
  
https://github.com/Perl/perl5/commit/4faffd7decce30ea588eb24cde907482dc9494b3
  Author: Yves Orton 
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
M configpm
M lib/Config.t

  Log Message:
  ---
  Config.pm - add taint_disabled and taint_support to %Config

This adds 'taint_disabled' and 'taint_support' to Config.pm and %Config.
This way people can use them while we decide what to do about the
changes to Configure. We shouldn't need to have Configure changed to
export status variables like this in Config.pm

See: https://github.com/Perl-Toolchain-Gang/Test-Harness/pull/118
and: https://github.com/Perl/perl5/pull/20972

for related work that is stalled because we have not decided what
to do about these variables.


  Commit: 4bc59e3f32261a9add3e5a3ef124e6d35ee281d6
  
https://github.com/Perl/perl5/commit/4bc59e3f32261a9add3e5a3ef124e6d35ee281d6
  Author: David Cantrell 
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
M .github/workflows/testsuite.yml

  Log Message:
  ---
  Automatically test without taint support


Compare: https://github.com/Perl/perl5/compare/4c53223a8780...4bc59e3f3226


[Perl/perl5] 287e78: Config.pm - add taint_disabled and taint_support t...

2023-03-30 Thread David Cantrell via perl5-changes
  Branch: refs/heads/yves/taint_disabled
  Home:   https://github.com/Perl/perl5
  Commit: 287e78759d1eaf58c09c6b35aea4313c83bf4328
  
https://github.com/Perl/perl5/commit/287e78759d1eaf58c09c6b35aea4313c83bf4328
  Author: Yves Orton 
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
M configpm
M lib/Config.t

  Log Message:
  ---
  Config.pm - add taint_disabled and taint_support to %Config

This adds 'taint_disabled' and 'taint_support' to Config.pm and %Config.
This way people can use them while we decide what to do about the
changes to Configure. We shouldn't need to have Configure changed to
export status variables like this in Config.pm

See: https://github.com/Perl-Toolchain-Gang/Test-Harness/pull/118
and: https://github.com/Perl/perl5/pull/20972

for related work that is stalled because we have not decided what
to do about these variables.


  Commit: 4c53223a8780a39770ab9a93f5d704f64b66e209
  
https://github.com/Perl/perl5/commit/4c53223a8780a39770ab9a93f5d704f64b66e209
  Author: David Cantrell 
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
M .github/workflows/testsuite.yml

  Log Message:
  ---
  Automatically test without taint support


Compare: https://github.com/Perl/perl5/compare/31b76a2988ef...4c53223a8780


[Perl/perl5] 1a8de4: Config.pm - add taint_disabled and taint_support t...

2023-03-30 Thread David Cantrell via perl5-changes
  Branch: refs/heads/yves/taint_disabled
  Home:   https://github.com/Perl/perl5
  Commit: 1a8de4ba9d00dcf900238da369f0c42980c41401
  
https://github.com/Perl/perl5/commit/1a8de4ba9d00dcf900238da369f0c42980c41401
  Author: Yves Orton 
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
M configpm
M lib/Config.t

  Log Message:
  ---
  Config.pm - add taint_disabled and taint_support to %Config

This adds 'taint_disabled' and 'taint_support' to Config.pm and %Config.
This way people can use them while we decide what to do about the
changes to Configure. We shouldn't need to have Configure changed to
export status variables like this in Config.pm

See: https://github.com/Perl-Toolchain-Gang/Test-Harness/pull/118
and: https://github.com/Perl/perl5/pull/20972

for related work that is stalled because we have not decided what
to do about these variables.


  Commit: 31b76a2988efd3ce459dc811cb2c11fcd87ca7c3
  
https://github.com/Perl/perl5/commit/31b76a2988efd3ce459dc811cb2c11fcd87ca7c3
  Author: David Cantrell 
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
M .github/workflows/testsuite.yml

  Log Message:
  ---
  Automatically test without taint support


Compare: https://github.com/Perl/perl5/compare/803a00275453...31b76a2988ef


[Perl/perl5] 0d8f5a: Config.pm - add taint_disabled and taint_support t...

2023-03-30 Thread David Cantrell via perl5-changes
  Branch: refs/heads/yves/taint_disabled
  Home:   https://github.com/Perl/perl5
  Commit: 0d8f5a1b7704c63118c48071c7efc1a8cb2aa184
  
https://github.com/Perl/perl5/commit/0d8f5a1b7704c63118c48071c7efc1a8cb2aa184
  Author: Yves Orton 
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
M configpm
M lib/Config.t

  Log Message:
  ---
  Config.pm - add taint_disabled and taint_support to %Config

This adds 'taint_disabled' and 'taint_support' to Config.pm and %Config.
This way people can use them while we decide what to do about the
changes to Configure. We shouldn't need to have Configure changed to
export status variables like this in Config.pm

See: https://github.com/Perl-Toolchain-Gang/Test-Harness/pull/118
and: https://github.com/Perl/perl5/pull/20972

for related work that is stalled because we have not decided what
to do about these variables.


  Commit: 803a002754531fa894bd4a9eb167f052eb649a98
  
https://github.com/Perl/perl5/commit/803a002754531fa894bd4a9eb167f052eb649a98
  Author: David Cantrell 
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
M .github/workflows/testsuite.yml

  Log Message:
  ---
  Automatically test without taint support


Compare: https://github.com/Perl/perl5/compare/b66b101dd02b...803a00275453


[Perl/perl5] 9ed785: ParseXS: Correct colon translation of $type in OUT...

2023-03-30 Thread Leon Timmermans via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 9ed785eddca4c01f5de2ef4bfb539dc2babeceed
  
https://github.com/Perl/perl5/commit/9ed785eddca4c01f5de2ef4bfb539dc2babeceed
  Author: Leon Timmermans 
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS: Correct colon translation of $type in OUTPUT section

The $type variable in typemaps is documented as in perlxstypemap as
"any : replaced with _", however currently it only does so in INPUT
sections. This will also make it do the same in OUTPUT sections.




[Perl/perl5]

2023-03-30 Thread Yves Orton via perl5-changes
  Branch: refs/heads/yves/better_bincompat_t
  Home:   https://github.com/Perl/perl5


[Perl/perl5] 86e7b6: t/porting/bincompat.t - test the code itself not j...

2023-03-30 Thread Yves Orton via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 86e7b6187ab846b0bfdab1d5d58e1cec5182cedd
  
https://github.com/Perl/perl5/commit/86e7b6187ab846b0bfdab1d5d58e1cec5182cedd
  Author: Yves Orton 
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
M perl.c
M perl.h
M t/porting/bincompat.t

  Log Message:
  ---
  t/porting/bincompat.t - test the code itself not just the output

Our checks on the define info we expose via Internals::V(), especially
the sorted part, did not really work properly as it only checked defines
that are actually exposed in our standard builds.  Many of the defines
that are exposed in this list are special cases that would not be
enabled in a normal build we test under CI, and indeed prior to this
patch it was possible for us to produce unsorted output if certain
defines were enabled.

This patch adds checks that reads the actual code.  It checks that the
define and the string are the same, and it checks that strings would be
output in sorted order assuming every define was enabled.

There are two historical exceptions where the string we show and the
define use internally are different, but we work around these two cases
with as special case hash.




[Perl/perl5] cc22ea: t/porting/bincompat.t - test the code itself not j...

2023-03-30 Thread Yves Orton via perl5-changes
  Branch: refs/heads/yves/better_bincompat_t
  Home:   https://github.com/Perl/perl5
  Commit: cc22ea0c3c049422b2b47e2d2f1585fb8086ffa4
  
https://github.com/Perl/perl5/commit/cc22ea0c3c049422b2b47e2d2f1585fb8086ffa4
  Author: Yves Orton 
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
M perl.c
M perl.h
M t/porting/bincompat.t

  Log Message:
  ---
  t/porting/bincompat.t - test the code itself not just the output

Our checks on the define info we expose via Internals::V(), especially
the sorted part, did not really work properly as it only checked defines
that are actually exposed in our standard builds.  Many of the defines
that are exposed in this list are special cases that would not be
enabled in a normal build we test under CI, and indeed prior to this
patch it was possible for us to produce unsorted output if certain
defines were enabled.

This patch adds checks that reads the actual code.  It checks that the
define and the string are the same, and it checks that strings would be
output in sorted order assuming every define was enabled.

There are two historical exceptions where the string we show and the
define use internally are different, but we work around these two cases
with as special case hash.




[Perl/perl5] 13dc99: op.c: remove unneeded variable

2023-03-30 Thread mauke via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 13dc9989e55acd863329057e268c87a3f6f53aab
  
https://github.com/Perl/perl5/commit/13dc9989e55acd863329057e268c87a3f6f53aab
  Author: Lukas Mai 
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
M op.c

  Log Message:
  ---
  op.c: remove unneeded variable

`is_module_install_hack` is a local variable in S_process_special_blocks
that is only used to silently treat INIT blocks (in package
Module::Install::DSL) as BEGIN blocks. But instead of setting the
variable and jumping before the `if` block that checks the variable, we
can just jump into the block and get rid of the variable.


  Commit: f0ccf3d06975afe2d1bcdc52912395058983b8e6
  
https://github.com/Perl/perl5/commit/f0ccf3d06975afe2d1bcdc52912395058983b8e6
  Author: Lukas Mai 
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
M op.c

  Log Message:
  ---
  op.c: use consistent spacing around = and ,

... in the Module::Install::DSL hack. Also, move `{` up to the same line
as the controlling `if` for consistency with the rest of the file.


Compare: https://github.com/Perl/perl5/compare/d0e6e389eee3...f0ccf3d06975