Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: f4c88b59305d4c77b11e4197b0d3755add1125bb
      
https://github.com/Perl/perl5/commit/f4c88b59305d4c77b11e4197b0d3755add1125bb
  Author: Tony Cook <t...@develop-help.com>
  Date:   2023-11-16 (Thu, 16 Nov 2023)

  Changed paths:
    M t/porting/globvar.t

  Log Message:
  -----------
  globvar.t: use nm -P for portability

POSIX specifies well defined output for nm -P

This will hopefully run this test on more platforms, including old AIX,
for which nm produces a different output from what the test expected.

Part of #21623


  Commit: 2804f7df8ab289b7a020e89cb5971f5f922ff33f
      
https://github.com/Perl/perl5/commit/2804f7df8ab289b7a020e89cb5971f5f922ff33f
  Author: Tony Cook <t...@develop-help.com>
  Date:   2023-11-16 (Thu, 16 Nov 2023)

  Changed paths:
    M t/porting/globvar.t

  Log Message:
  -----------
  globvar.t: allow duplicate definitions of symbols

nm on AIX can list both local and global definitions for the same
variable, which meant the parsing would delete the first instance
from %exported, but then add the second to %unexported, failing the
test.

This didn't fail on AIX 5 because the default nm output didn't
match what the code expected when checking for PL_Yes, and so
the entire test script skipped.

Fixes #21623


Compare: https://github.com/Perl/perl5/compare/be4fcf4ff45d...2804f7df8ab2

Reply via email to