diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2018-09-12 09:22:10 +0100 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2018-09-12 09:22:10 +0100 |
commit | 7c5241edf37fbafc9e1f833aede76c524ce62bcb (patch) | |
tree | 8168a7eb876ca9018640b77ef9e8a205c7b16ed0 /Src/zsh.h | |
parent | 03a51a6f097a6e4a9bb8d94c2be17ec8a2e300b8 (diff) | |
download | zsh-7c5241edf37fbafc9e1f833aede76c524ce62bcb.tar.gz zsh-7c5241edf37fbafc9e1f833aede76c524ce62bcb.tar.xz zsh-7c5241edf37fbafc9e1f833aede76c524ce62bcb.zip |
43446: More entersubsh() / addproc() wiring.
Fix additional races by passing back use of list_pipe_job from subshell.
Diffstat (limited to 'Src/zsh.h')
-rw-r--r-- | Src/zsh.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Src/zsh.h b/Src/zsh.h index 8e7f20b2c..b81db1527 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -505,6 +505,14 @@ enum { ZCONTEXT_PARSE = (1<<2) }; +/* Report from entersubsh() to pass subshell info to addproc */ +struct entersubsh_ret { + /* Process group leader chosen by subshell, else -1 */ + int gleader; + /* list_pipe_job setting used by subshell, else -1 */ + int list_pipe_job; +}; + /**************************/ /* Abstract types for zsh */ /**************************/ |