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 | GitHub #28: Add missing math.h include for builtins (diff) | |
| download | zsh-7c5241edf37fbafc9e1f833aede76c524ce62bcb.tar zsh-7c5241edf37fbafc9e1f833aede76c524ce62bcb.tar.gz zsh-7c5241edf37fbafc9e1f833aede76c524ce62bcb.tar.bz2 zsh-7c5241edf37fbafc9e1f833aede76c524ce62bcb.tar.lz zsh-7c5241edf37fbafc9e1f833aede76c524ce62bcb.tar.xz zsh-7c5241edf37fbafc9e1f833aede76c524ce62bcb.tar.zst 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
@@ -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 */ /**************************/ |
