On Fri, 11 Mar 2005, Michael Haardt wrote:
> > Er wait, I *can* see how it can go wrong. If fork() fails ...
>
> Don't forget EINTR, either.
That's the point of the loop.
> I don't know how Exim deals with SIGCHLD, but from the Linux manual:
That's what I was glossing over when I said "if it's created correctly";
I meant "with SIGCHLD suitably set up".
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book: http://www.uit.co.uk/exim-book