From 516ea294b8645fa910200096098575c39a55547a Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Sun, 14 Aug 2011 18:34:27 +0000 Subject: 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. --- Src/zsh.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Src/zsh.h') 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 { -- cgit v1.2.3