about summary refs log tree commit diff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2011-08-14 18:34:27 +0000
committerBart Schaefer <barts@users.sourceforge.net>2011-08-14 18:34:27 +0000
commit516ea294b8645fa910200096098575c39a55547a (patch)
tree64c934a814f14f23dfafc75dbd2e7497095da1f5 /Src/zsh.h
parent8af2cbd1f213dc7864c84dae869a705d03cf83d5 (diff)
downloadzsh-516ea294b8645fa910200096098575c39a55547a.tar.gz
zsh-516ea294b8645fa910200096098575c39a55547a.tar.xz
zsh-516ea294b8645fa910200096098575c39a55547a.zip
29677: Do not allow external processes in a pipeline to become suspended
when the end of the pipe is controlled by a builtin in the current shell
which cannot itself become suspended.
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 62ab5ade3..e3141120f 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -907,6 +907,8 @@ struct job {
 #define STAT_ATTACH	(0x1000) /* delay reattaching shell to tty       */
 #define STAT_SUBLEADER  (0x2000) /* is super-job, but leader is sub-shell */
 
+#define STAT_BUILTIN    (0x4000) /* job at tail of pipeline is a builtin */
+
 #define SP_RUNNING -1		/* fake status for jobs currently running */
 
 struct timeinfo {