From owner-freebsd-current Thu Jul 12 14:18:11 2001 Delivered-To: freebsd-current@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 0B2BD37B406 for ; Thu, 12 Jul 2001 14:18:08 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.4) id f6CLHsl43063; Thu, 12 Jul 2001 17:17:54 -0400 (EDT) (envelope-from wollman) Date: Thu, 12 Jul 2001 17:17:54 -0400 (EDT) From: Garrett Wollman Message-Id: <200107122117.f6CLHsl43063@khavrinen.lcs.mit.edu> To: Giorgos Keramidas Cc: freebsd-current@FreeBSD.ORG Subject: Re: cannot print to remote printer In-Reply-To: <86k81eaqcj.fsf@hades.hell.gr> References: <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> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < 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