summary refs log tree commit diff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorPeter Stephenson <p.stephenson@samsung.com>2018-09-12 09:22:10 +0100
committerPeter Stephenson <p.stephenson@samsung.com>2018-09-12 09:22:10 +0100
commit7c5241edf37fbafc9e1f833aede76c524ce62bcb (patch)
tree8168a7eb876ca9018640b77ef9e8a205c7b16ed0 /Src/zsh.h
parent03a51a6f097a6e4a9bb8d94c2be17ec8a2e300b8 (diff)
downloadzsh-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.h8
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 */
 /**************************/