<<On 12 Jul 2001 22:40:12 +0300, Giorgos Keramidas <[EMAIL PROTECTED]> said:

> I might be wrong in many ways, but...

> is it then mandatory that you `reset' SIGCHLD to SIG_DFL ?

Possibly.  In the general case (as specified by standards), what
happens to SIGCHLD if it was set to SIG_IGN before exec() is
ill-defined.  Some systems will inherit the SIG_IGN setting, which
will then cause any executed program that depends on wait() working
(e.g., shells) to fail.

The new POSIX draft, at least, sanctions the automatic reset of
SIGCHLD to SIG_DFL upon exec().

-GAWollman


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to