diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2022-02-10 15:00:24 -0500 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2022-02-10 15:00:24 -0500 |
commit | 938afb4d7acb9974d5789dfe4e322c0ccce0541e (patch) | |
tree | 39277f5007b758ce8cda31727c91391fd85b600d /ChangeLog | |
parent | 438e6e6e6deb8f4831e84ffd17205dc14d3a2ebb (diff) | |
download | egawk-938afb4d7acb9974d5789dfe4e322c0ccce0541e.tar.gz egawk-938afb4d7acb9974d5789dfe4e322c0ccce0541e.tar.bz2 egawk-938afb4d7acb9974d5789dfe4e322c0ccce0541e.zip |
Fix bug in exit status returned by close for a previously exited process.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2022-12-10 Andrew J. Schorr <aschorr@telemetry-investments.com> + + * io.c (wait_any): When saving a saved exit status returned by + _cwait or waitpid or wait in struct redirect's status field, we + should actually save the valued returned by sanitize_exit_status + instead of the raw status. This fixes a bug whereby a saved status + for a previously exited process was being returned by gawk_pclose + without first being sanitized. Thanks to Jakub Martisko + <jamartis@redhat.com> for reporting the bug. + 2022-02-10 Arnold D. Robbins <arnold@skeeve.com> * builtin.c (sanitize_exit_status): Fix formatting. |