Re: Another patch to make syslogd work on svr4,4.2,5

From: Martin Schulze (joey@infodrom.org)
Date: Fri Nov 30 2001 - 10:48:47 CET


John Hughes wrote:
> The "reapchild" function blows up on svr4 and later (probably even on svr3)
> 'cos it resets the signal handler BEFORE calling wait, so the handler gets
> called in an infinite loop.
>
> I guess it does this in an attempt to avoid losing any signals.
>
> A better way, portable between at least Linux, BSD and SVR4 is to us
> sigaction.
>
> Here's a patch:

Please, please add more explanation. You've sent in a lot of patches,
but none of them can be added by me directly, hence there's a good
chance that they'll end up in the void, probably not what you expected.

Regards,

        Joey

-- 
It's practically impossible to look at a penguin and feel angry.



This archive was generated by hypermail 2.1.2 : Fri Nov 30 2001 - 21:57:41 CET