| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Guard #pragma linkage with _LP64 (OS on -m64, OS_UPSTACK on -m32), use
bit 31 (0x80000000u) for the OS VL bit, and allocate IGGCSI00/BPXWDY2
work areas via __malloc31() per z/OS C/C++ Runtime Library Reference and
Open XL C/C++ 2.2 Compiler Reference.
- Use isupper()/isdigit() in complete.c hlq_ok() and an EBCDIC/ASCII-safe
ctrl_byte() helper in edit_builtin.c bind_keys().
- Tag temp files with sys_tmp_tag() in fc_edit() and edit_external(), add
EINTR retry loops in edit_external(), route edit_bind_list() through
out1, and clamp CSI/vi repeat counts against signed int overflow.
- Destroy posix_spawn_file_actions_t on error in sys_spawn() and clamp
put_name() copy length in sys_posix.c.
- Replace non-ISO8859-1 dashes in README.md and C-PROGRAMMING-STANDARDS.md
and mark notes/review-2026-11-27.md UTF-8 in .gitattributes so git
checkout succeeds on z/OS.
Verified locally on Linux (make, make zos-lint, make check: 128/129 pass,
only pre-existing linux/i-dscomplete differs); z/OS CBT verification next.
|
|
|
The z/OS C and HLASM programming standards for this project: toolchain and
warning flags, type and naming rules, clang-format/clang-tidy policy, memory
model, EBCDIC/ASCII handling (including zopen character-conversion
conventions), control-block access, and POSIX makefile rules.
This document is the reference: zash, ztop and whoson all follow it.
|