Branch: refs/heads/smoke-me/tonyc/21623-globvar Home: https://github.com/Perl/perl5 Commit: e97a5ef73745474e04176dd3547a49c34908261d https://github.com/Perl/perl5/commit/e97a5ef73745474e04176dd3547a49c34908261d Author: Tony Cook <t...@develop-help.com> Date: 2023-11-13 (Mon, 13 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: f96b74ebabf88cf20538f8f2b4c35bbb43fdd77d https://github.com/Perl/perl5/commit/f96b74ebabf88cf20538f8f2b4c35bbb43fdd77d Author: Tony Cook <t...@develop-help.com> Date: 2023-11-13 (Mon, 13 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/e97a5ef73745%5E...f96b74ebabf8