From: erik quanstrom <quanstro@labs.coraid.com>
To: 9fans@9fans.net
Subject: Re: [9fans] Different results for the same rc script when using listen1
Date: Tue, 26 Apr 2011 08:57:57 -0400 [thread overview]
Message-ID: <0239ab9a36c34faaba2f5c364b24853a@coraid.com> (raw)
In-Reply-To: <201104261102.12028.dexen.devries@gmail.com>
> > 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));
> }
that's not the same bug. noteinit() isn't going to be called by
rc through Trapinit() again after the exec.
- erik
next prev parent reply other threads:[~2011-04-26 12:57 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-24 5:09 Maurício CA
2011-04-24 5:22 ` andrey mirtchovski
2011-04-24 7:30 ` Maurício CA
2011-04-24 14:20 ` smiley
2011-04-24 17:05 ` Maurício CA
2011-04-24 17:17 ` Bakul Shah
2011-04-25 0:16 ` Maurício CA
2011-04-25 2:00 ` Anthony Martin
2011-04-25 3:14 ` Maurício CA
2011-04-25 3:17 ` erik quanstrom
2011-04-25 3:36 ` erik quanstrom
2011-04-25 3:58 ` Bakul Shah
2011-04-25 4:39 ` erik quanstrom
2011-04-25 5:27 ` Lyndon Nerenberg
2011-04-25 5:53 ` Bakul Shah
2011-04-25 6:59 ` Robert Ransom
2011-04-25 14:56 ` Bakul Shah
2011-04-25 15:00 ` erik quanstrom
2011-04-25 16:17 ` Skip Tavakkolian
2011-04-25 16:27 ` Joseph Stewart
2011-04-25 20:13 ` smiley
2011-04-25 20:16 ` Lyndon Nerenberg
2011-04-25 20:18 ` erik quanstrom
2011-04-25 14:44 ` erik quanstrom
2011-04-25 13:53 ` Maurício CA
2011-04-25 14:42 ` erik quanstrom
2011-04-27 21:57 ` Maurício CA
2011-04-26 9:02 ` dexen deVries
2011-04-26 12:57 ` erik quanstrom [this message]
2011-04-25 2:03 ` andrey mirtchovski
2011-04-25 2:14 ` Iruatã Souza
2011-04-25 2:20 ` andrey mirtchovski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0239ab9a36c34faaba2f5c364b24853a@coraid.com \
--to=quanstro@labs.coraid.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).