1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00

zsh-workers/8473

This commit is contained in:
Tanaka Akira 1999-10-31 06:42:25 +00:00
parent 84b0a3076b
commit beaf69f428

View file

@ -668,6 +668,7 @@ dosavetrap(int sig, int level)
st->list = sigfuncs[sig];
unsettrap(sig);
}
sigtrapped[sig] = 0;
notrapfree--;
PERMALLOC {
if (!savetraps)
@ -829,6 +830,7 @@ endtrapscope(void)
if (sigtrapped[sig])
unsettrap(sig);
sigtrapped[sig] = st->flags;
if (st->flags) {
List list = (st->flags & ZSIG_FUNC) ?
((Shfunc) st->list)->funcdef : (List) st->list;