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:
This archive was generated by hypermail 2.1.2 : Fri Nov 30 2001 - 09:30:21 CET