aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2022-02-10 15:00:24 -0500
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2022-02-10 15:00:24 -0500
commit938afb4d7acb9974d5789dfe4e322c0ccce0541e (patch)
tree39277f5007b758ce8cda31727c91391fd85b600d /ChangeLog
parent438e6e6e6deb8f4831e84ffd17205dc14d3a2ebb (diff)
downloadegawk-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--ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 65c902a8..ce603e94 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.