diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2018-04-24 10:57:03 +0100 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2018-04-24 11:48:11 +0100 |
commit | 95d861d0283e47c64980c844d66be44c6c4aad8a (patch) | |
tree | a659a534c4876d51667e94e12b509145f0a7c3cf /ChangeLog | |
parent | 9ad9c5cda1087151c64074a965a68b407a8bd229 (diff) | |
download | zsh-95d861d0283e47c64980c844d66be44c6c4aad8a.tar.gz zsh-95d861d0283e47c64980c844d66be44c6c4aad8a.tar.xz zsh-95d861d0283e47c64980c844d66be44c6c4aad8a.zip |
42708: fix for process substitution.
Don't close associated file descriptors in the closem() tidy up function as they should remain visible to external processes. Override if about to exit. Unit test for the failing case: note this relies on the existence of /proc/self/fd or equivalent.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 632a35717..535cf9f00 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2018-04-24 Peter Stephenson <p.stephenson@samsung.com> + + * 42708: Src/exec.c, Src/Modules/clone.c, Src/Modules/zpty.c, + Test/D03procsubst.ztst: don't close file descriptors for + process substitution on closem() tidy up unless we are exiting + as they need to be visible to external processes. + 2018-04-23 Peter Stephenson <p.stephenson@samsung.com> * 42705: Src/signals.c: another fix for 42630 --- also check |