Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2001 17:17:54 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: cannot print to remote printer
Message-ID:  <200107122117.f6CLHsl43063@khavrinen.lcs.mit.edu>
In-Reply-To: <86k81eaqcj.fsf@hades.hell.gr>
References:  <lth8zikptx0.wl@hunter.munich.sgi.com> <p05101003b759266483c2@> <p05101003b759266483c2@[128.113.24.47]> <873d83pquy.wl@wilhelm.noname> <20010711214311.C2855@heechee.tobez.org> <200107120645.f6C6jtP45267@uriah.heep.sax.de> <20010712122148.B10960@heechee.tobez.org> <86k81eaqcj.fsf@hades.hell.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On 12 Jul 2001 22:40:12 +0300, Giorgos Keramidas <keramida@ceid.upatras.gr> 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107122117.f6CLHsl43063>