about summary refs log tree commit diff
path: root/Src/exec.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2016-09-30 11:34:15 +0100
committerPeter Stephenson <pws@zsh.org>2016-09-30 11:34:15 +0100
commitbb2bbcc944e5b2a089f27e9b988e1740a517cedd (patch)
treec16ac525ae35a97e466aa4f54cfe8e5e4b46f06b /Src/exec.c
parentd08674ef8c8e4920c2ebfa02f0bef86812f051ee (diff)
downloadzsh-bb2bbcc944e5b2a089f27e9b988e1740a517cedd.tar.gz
zsh-bb2bbcc944e5b2a089f27e9b988e1740a517cedd.tar.xz
zsh-bb2bbcc944e5b2a089f27e9b988e1740a517cedd.zip
39517: back off 39502 (WC_ASSIGN causes fork in pipe).
This isn't a robust fix as WC_ASSIGNs simply precede the main wordcode.
Diffstat (limited to 'Src/exec.c')
-rw-r--r--Src/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/exec.c b/Src/exec.c
index e253d7b9e..2714edbcb 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -1844,7 +1844,7 @@ execpline2(Estate state, wordcode pcode,
 	/* if we are doing "foo | bar" where foo is a current *
 	 * shell command, do foo in a subshell and do the     *
 	 * rest of the pipeline in the current shell.         */
-	if ((wc_code(code) >= WC_CURSH || wc_code(code) == WC_ASSIGN)
+	if ((wc_code(code) >= WC_CURSH)
 	    && (how & Z_SYNC)) {
 	    int synch[2];
 	    struct timeval bgtime;