diff options
| author | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-29 10:29:29 -0600 |
|---|---|---|
| committer | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-29 10:29:29 -0600 |
| commit | 85f76423cda9977b42f3c098a23286c928861e4b (patch) | |
| tree | 7fcd25d34b04b92f1c005332407fa7629fea52eb /tests/tools/git@git.abendless.com: | |
| parent | 0a270a610f92b258edabeed71d6a2aba558eae32 (diff) | |
| download | zash-85f76423cda9977b42f3c098a23286c928861e4b.tar.gz | |
Record waited job status in reaped_list before freeing in builtin_wait
When 'wait pid' waits directly on a still-running job rather than
reading an already-reaped entry, record its pid and status via
reaped_add() before calling job_free(), matching jobs_reap(), bash, and
dash. Fixes intermittent 'again: 127' failures in tests/posix/wait-reap
on busy z/OS hosts when 'false &' takes >0.3s.
Diffstat (limited to 'tests/tools/git@git.abendless.com:')
0 files changed, 0 insertions, 0 deletions
