about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-11-22 12:32:26 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-11-22 12:32:26 +0000
commit2450b27486797013032924792de846076e29552c (patch)
tree20522d28e54cdf5515f73abe685708ebaa0a35c8 /Src
parent3d9d13e918c195f974ff7b2f1dc5b65f6b20a441 (diff)
downloadzsh-2450b27486797013032924792de846076e29552c.tar.gz
zsh-2450b27486797013032924792de846076e29552c.tar.xz
zsh-2450b27486797013032924792de846076e29552c.zip
zsh-workers/8721
Diffstat (limited to 'Src')
-rw-r--r--Src/signals.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/signals.c b/Src/signals.c
index dcebc7518..5a2d62c25 100644
--- a/Src/signals.c
+++ b/Src/signals.c
@@ -666,6 +666,7 @@ dosavetrap(int sig, int level)
 	st->list = removehashnode(shfunctab, func);
     } else {
 	st->list = sigfuncs[sig];
+	sigfuncs[sig] = NULL;
 	unsettrap(sig);
     }
     sigtrapped[sig] = 0;