Re: Patch to make powerd(8) devd(8)-aware

From: Fredrik Lindberg <fli+freebsd-current_at_shapeshifter.se>
Date: Mon, 16 May 2005 22:31:34 +0200
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_at_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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Mon May 16 2005 - 18:31:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:34 UTC