-
Committer:
tg
-
Date:
2024-07-25 00:29:04 UTC
-
Revision ID:
tg-20240725002904-9ha49o6879hv459p
bit of scriptexec overhaul:
• use ord(), ORD() and rtt2asc() to make available on EBCDIC systems
• scan for shebang magic first, length second, to distinguish between
diagnostics for “shebang too long” and “weird magic”
• fix errorlevel for inexecutable ELF files (was 1 still not 126 yet)
• allow running cosmopolitan libc’s “APE” code as shell script, do not
reject them as MZ executables
• add Zstd-compressed files’ magic