mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-08 08:40:57 +01:00
39839: fix "return" from "if" condition
This commit is contained in:
parent
d91ffb1db2
commit
2c56c7e5e8
2 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
|||
2016-11-05 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 39839: Src/loop.c: fix "return" from "if" condition
|
||||
|
||||
* 39838: Src/builtin.c: another missing unqueue_signals()
|
||||
|
||||
2016-11-04 Oliver Kiddle <opk@zsh.org>
|
||||
|
|
|
|||
|
|
@ -570,7 +570,8 @@ execif(Estate state, int do_exec)
|
|||
cmdpop();
|
||||
} else {
|
||||
noerrexit = olderrexit;
|
||||
lastval = 0;
|
||||
if (!retflag)
|
||||
lastval = 0;
|
||||
}
|
||||
state->pc = end;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue