From owner-freebsd-current Sat Apr 4 01:52:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA24578 for freebsd-current-outgoing; Sat, 4 Apr 1998 01:52:17 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from cons.org (knight.cons.org [194.233.237.86]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA24572 for ; Sat, 4 Apr 1998 01:52:14 -0800 (PST) (envelope-from cracauer@cons.org) Received: (from cracauer@localhost) by cons.org (8.8.5/8.7.3) id LAA10642; Sat, 4 Apr 1998 11:51:57 +0200 (CEST) Message-ID: <19980404115157.13517@cons.org> Date: Sat, 4 Apr 1998 11:51:57 +0200 From: Martin Cracauer To: Bruce Evans , cracauer@cons.org Cc: freebsd-current@FreeBSD.ORG Subject: Re: make/SIGINT (Re: cvs commit: src/bin/sh jobs.c) Mail-Followup-To: Bruce Evans , cracauer@cons.org, freebsd-current@FreeBSD.ORG References: <199804040547.PAA13155@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <199804040547.PAA13155@godzilla.zeta.org.au>; from Bruce Evans on Sat, Apr 04, 1998 at 03:47:42PM +1000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In <199804040547.PAA13155@godzilla.zeta.org.au>, Bruce Evans wrote: > >> POSIX.2 only requires a nonzero exit status for SIGQUIT. We've just > >> fixed the handling of SIGINT, SIGTERM and SIGHUP. > > > >I'm not sure why you treat SIGQUIT specially. > > The POSIX rationale says that it is because make's core file might > overwrite the application's core file. That's right, of course. We should keep programs like make and truss in a way that they still work on single-corefilename systems. > >That way the script > >can't end immedeatly after the current job. > > Perhaps the special handling should only be used at the top level (sh). What about setting coredumpsize = 0 and sending SIGQUIT to ourself for sh, make, truss, time? Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer cracauer@wavehh.hanse.de (batched, preferred for large mails) Tel.: (daytime) +4940 41478712 Fax.: (daytime) +4940 41478715 Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536 Paper: (private) Waldstrasse 200, 22846 Norderstedt, Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message