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

11066: false || true was trigerring trap on ZERR

This commit is contained in:
Peter Stephenson 2000-05-02 13:08:19 +00:00
parent f3be526791
commit 9420498acf
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2000-05-02 Peter Stephenson <pws@cambridgesiliconradio.com>
* 11066: Src/exec.c: suppress doing in and/or when at the end
of a sequence of &&/|| when another sublist follows.
2000-05-02 Oliver Kiddle <opk@zsh.org>
* 11065: Completion/Commands/_complete_debug: small fix to avoid

View file

@ -842,7 +842,8 @@ execlist(Estate state, int dont_change_job, int exiting)
* for this sublist. */
donetrap = 1;
goto sublist_done;
}
} else if (WC_SUBLIST_TYPE(code) == WC_SUBLIST_END)
donetrap = 1;
}
cmdpush(CS_CMDAND);
break;
@ -867,7 +868,8 @@ execlist(Estate state, int dont_change_job, int exiting)
* for this sublist. */
donetrap = 1;
goto sublist_done;
}
} else if (WC_SUBLIST_TYPE(code) == WC_SUBLIST_END)
donetrap = 1;
}
cmdpush(CS_CMDOR);
break;