Skip to content

fix: support executable jperl shebangs and current raw compression APIs - #1380

Merged
fglock merged 1 commit into
masterfrom
fix/issues-1293-1261
Sep 15, 2026
Merged

fglock merged 1 commit into
masterfrom
fix/issues-1293-1261

Conversation

@fglock

@fglock fglock commented Sep 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fix direct execution of generated scripts whose shebang uses PerlOnJava $^X by providing a native executable shim.
  • Recognize the native shim consistently in shebang parsing and process/pipe command expansion.
  • Update the Java-backed Compress::Raw::Bzip2 and Compress::Raw::Zlib providers to the audited 2.224 compatibility level.

Validation

  • make
  • System Perl validation of changed unit tests
  • JVM and interpreter focused shebang and compression regression tests
  • make check-links

Fixes #1293
Fixes #1261

Add a native $^X shim so generated scripts run directly, and advertise the audited Compress::Raw Bzip2 and Zlib 2.224 compatibility level.

Fixes #1293
Fixes #1261

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

Co-Authored-By: Codex <noreply@openai.com>
@fglock
fglock merged commit 0f18dff into master Sep 15, 2026
2 checks passed
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.

Executable scripts with #!$^X are interpreted as shell scripts Port Compress::Raw::Bzip2 and Zlib for current IO::Compress

1 participant