From 5141e68daa20caa8523361d5dff63e9384c30191 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 22 Nov 2004 10:33:03 +0000 Subject: 20572: Allow alternative signal names --- Src/exec.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Src/exec.c') diff --git a/Src/exec.c b/Src/exec.c index c5fac2fc9..49503db0f 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -3345,6 +3345,12 @@ execfuncdef(Estate state, UNUSED(int do_exec)) return 1; } sigtrapped[signum] |= ZSIG_FUNC; + + /* + * Remove the old node explicitly in case it has + * an alternative name + */ + removetrapnode(signum); } shfunctab->addnode(shfunctab, ztrdup(s), shf); } -- cgit 1.4.1