1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 21:44:11 +01:00

set list_pipe_job only for real pipelines (14327)

This commit is contained in:
Sven Wischnowsky 2001-05-14 08:51:59 +00:00
parent 7f7e58935b
commit 015120a287
2 changed files with 5 additions and 1 deletions

@ -1,3 +1,7 @@
2001-05-14 Sven Wischnowsky <wischnow@zsh.org>
* 14327: Src/exec.c: set list_pipe_job only for real pipelines
2001-05-11 Peter Stephenson <pws@csr.com>
* 14314: Src/Modules/stat.c: writing const variable under cygwin.

@ -973,10 +973,10 @@ execpline(Estate state, wordcode slcode, int how, int last1)
* stopped, the top-level execpline() didn't get the pid for the
* sub-shell because it was overwritten. */
if (!pline_level++) {
list_pipe_job = newjob;
list_pipe_pid = 0;
nowait = 0;
simple_pline = (WC_PIPE_TYPE(code) == WC_PIPE_END);
list_pipe_job = (simple_pline ? 0 : newjob);
}
lastwj = lpforked = 0;
execpline2(state, code, how, opipe[0], ipipe[1], last1);