Patch to make powerd(8) devd(8)-aware
Fredrik Lindberg
fli+freebsd-current at shapeshifter.se
Mon May 16 13:31:44 PDT 2005
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"
More information about the freebsd-current
mailing list