From mboxrd@z Thu Jan 1 00:00:00 1970 From: dexen deVries To: 9fans@9fans.net Date: Wed, 13 May 2009 01:28:47 +0200 User-Agent: KMail/1.11.2 (Linux/2.6.28-7; KDE/4.2.2; x86_64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905130128.47311.dexen.devries@gmail.com> Subject: [9fans] missing attachment: [p9p] Bug in signal handling Topicbox-Message-UUID: f95aca54-ead4-11e9-9d60-3106f5b1d025 diff -r 74392a7c323c src/lib9/notify.c --- a/src/lib9/notify.c Wed Mar 11 13:37:29 2009 -0700 +++ b/src/lib9/notify.c Wed May 13 00:52:05 2009 +0200 @@ -265,7 +265,7 @@ * Or maybe someone has already called notifyon/notifyoff. * Leave it alone. */ - if(handler(sig->sig) != SIG_DFL) + if((handler(sig->sig) != SIG_DFL) && handler(sig->sig) != SIG_IGN) continue; notifyseton(sig->sig, !(sig->flags&NoNotify)); }