diff options
| author | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-25 12:19:41 -0600 |
|---|---|---|
| committer | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-25 12:19:41 -0600 |
| commit | 5d830cb1c04da59553d3af848340162a7be9fa58 (patch) | |
| tree | bab5c143f428cccb014c82a273a101bcb2fd62d5 /tests/tools/zos-shim/git@git.abendless.com:/srv/git | |
| parent | 7c161e69efaf67349edb32e42c113e5c0b7944f7 (diff) | |
| download | zash-5d830cb1c04da59553d3af848340162a7be9fa58.tar.gz | |
z/OS: convert a script's character set only in an ASCII buildfix/zos-script-charset
input_push_fd() called sys_input_cvt() for every script on z/OS, and that
routine converts to the program's own CCSID. In an ASCII build reading
an IBM-1047 system it therefore either asked for EBCDIC-to-EBCDIC
conversion, which is a no-op that returns 0, or read the bytes
unconverted; SETCVTON on a descriptor that sys_dupfd() has renumbered
returns 0 and converts nothing on this system either. The parser then
saw EBCDIC and dropped the script.
An EBCDIC build reads IBM-1047 natively and never wanted the call. With
the conversion left to ASCII builds, posix/traps and scripts/signals pass
on z/OS: 93 passed, 4 skipped, 0 failed.
The untagged-file case still depends on SETCVTON with an explicit fccsid,
which is unverified, so the VERIFY note stays.
Diffstat (limited to 'tests/tools/zos-shim/git@git.abendless.com:/srv/git')
0 files changed, 0 insertions, 0 deletions
