Skip to content

Fix extended errno alias for CPANPLUS#788

Merged
fglock merged 1 commit into
masterfrom
fix/cpanplus-file-copy-warning
May 21, 2026
Merged

Fix extended errno alias for CPANPLUS#788
fglock merged 1 commit into
masterfrom
fix/cpanplus-file-copy-warning

Conversation

@fglock
Copy link
Copy Markdown
Owner

@fglock fglock commented May 21, 2026

Summary

  • Initialize $^E with the same errno dualvar used by $!, matching Unix Perl behavior for CPANPLUS/File::Copy.
  • Add regression coverage for $^E startup, assignment, localization, and clearing behavior.
  • Update dev/modules/cpanplus.md with the resolved warning and remaining fresh-home verification note.

Tests

  • timeout 60 ./jperl src/test/resources/unit/errno_special_vars.t
  • make
  • timeout 1200 ./jcpan -t CPANPLUS

Note: the sandboxed CPANPLUS run hit uncompress: /dev/stdout: Operation not permitted in Archive::Extract's .Z test. The listed CPANPLUS run was rerun outside the sandbox and passed with Files=20, Tests=1751, Result: PASS.

Initialize $^E with the same errno dualvar used by $!, matching Unix
Perl behavior for numeric and string errno contexts.

Add regression coverage for $^E startup, assignment, localization, and
clearing behavior, and update the CPANPLUS progress note with the
resolved File::Copy warning.

Generated with [Codex](https://openai.com/codex)

Co-Authored-By: Codex <codex@openai.com>
@fglock fglock force-pushed the fix/cpanplus-file-copy-warning branch from 0d1d744 to e03cba1 Compare May 21, 2026 17:20
@fglock fglock merged commit cc60b0f into master May 21, 2026
2 checks passed
@fglock fglock deleted the fix/cpanplus-file-copy-warning branch May 21, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant