Hi,
On Monday 25 of April 2011 05:36:17 erik quanstrom wrote: > ; hg diff rfork.c > > > hmm. is that right? it's wait3/wait4 that's failing. it shouldn't > > be necesary to catch SIGCHLD for wait to work. but maybe > > it is > > i take it back. i'd forgotten how quirky unix is these days. > here's the solution. not rc's fault. recompile lib9 and listen1: > > diff -r 5caa04977471 src/lib9/rfork.c > (...) back in 13/05/2009 00:57 i've submitted a different patch for that (mail with subject ``[p9p] Bug in signal handling''). it seems simplier; any chances it gets the job done an easier way? here again, with whitespace cleanup: diff -r bde374c81d7e src/lib9/notify.c --- a/src/lib9/notify.c Tue Jan 25 12:13:44 2011 +0100 +++ b/src/lib9/notify.c Tue Apr 26 11:01:25 2011 +0200 @@ -265,7 +265,8 @@ * 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)); } -- dexen deVries [[[↓][→]]] ``In other news, STFU and hack.'' mahmud, in response to Erann Gat's ``How I lost my faith in Lisp'' http://news.ycombinator.com/item?id=2308816