Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2005 22:31:34 +0200
From:      Fredrik Lindberg <fli+freebsd-current@shapeshifter.se>
To:        Warner Losh <imp@bsdimp.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Patch to make powerd(8) devd(8)-aware
Message-ID:  <20050516203134.GA722@shapeshifter.se>
In-Reply-To: <20050516.133335.104054202.imp@bsdimp.com>
References:  <20050516170230.GB90847@shapeshifter.se> <20050516.133335.104054202.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Nope, no reason. Just that the first thing that came to mind was sigprocmask
(for some reason...) and it worked so I didn't give it more thought. 
Using signal(SIGPIPE, SIG_IGN); is probably a better solution.

   Fredrik Lindberg

On Mon, May 16, 2005 at 01:33:35PM -0600, Warner Losh (imp@bsdimp.com) wrote:
> Cool!
> 
> > During the same time I also discovered a bug(?) in devd which causes it
> > to terminate with a broken pipe if a client reading /var/run/devd.pipe 
> > disappears. Blocking SIGPIPE fixes this.
> 
> Any reason that signal(SIGPIPE, SIG_IGN); wasn't used?
> 
> Warner
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050516203134.GA722>