diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2013-10-27 15:42:00 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2013-10-27 15:42:00 -0700 |
commit | c98cbe25d2be2c8c552250e7e039a72e1f61887b (patch) | |
tree | f90413329d54c3627baac925951e5d2b0bcc08cd /Src/Zle/computil.c | |
parent | 4748eff7d2e97ff652f5d75d33b9aad12d7d917f (diff) | |
download | zsh-c98cbe25d2be2c8c552250e7e039a72e1f61887b.tar.gz zsh-c98cbe25d2be2c8c552250e7e039a72e1f61887b.tar.xz zsh-c98cbe25d2be2c8c552250e7e039a72e1f61887b.zip |
31919: fix deadlock when a shell builtin with a multio redirection is used on the left side of a pipeline
Make sure stdin/out/err file descriptors are closed for the multio copy process, which means not re-using those descriptors after they are closed and marked FDT_UNUSED in fdtable[]. For completeness, initialize their fdtable[] state to FDT_EXTERNAL.
Diffstat (limited to 'Src/Zle/computil.c')
0 files changed, 0 insertions, 0 deletions