9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] missing attachment: [p9p] Bug in signal handling
@ 2009-05-12 23:28 dexen deVries
  0 siblings, 0 replies; only message in thread
From: dexen deVries @ 2009-05-12 23:28 UTC (permalink / raw)
  To: 9fans

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));
 	}




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-12 23:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-12 23:28 [9fans] missing attachment: [p9p] Bug in signal handling dexen deVries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).