1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-26 04:30:27 +01:00

zsh-workers/10106

This commit is contained in:
Tanaka Akira 2000-03-13 09:57:05 +00:00
parent b1fcad6a63
commit 16ea1f357d
4 changed files with 241 additions and 5 deletions

View file

@ -315,12 +315,16 @@ static char list_pipe_text[JOBTEXTSIZE];
static int
execcursh(Estate state, int do_exec)
{
Wordcode end = state->pc + WC_CURSH_SKIP(state->pc[-1]);
if (!list_pipe && thisjob != list_pipe_job)
deletejob(jobtab + thisjob);
cmdpush(CS_CURSH);
execlist(state, 1, do_exec);
cmdpop();
state->pc = end;
return lastval;
}