Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 1998 11:51:57 +0200
From:      Martin Cracauer <cracauer@cons.org>
To:        Bruce Evans <bde@zeta.org.au>, cracauer@cons.org
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: make/SIGINT (Re: cvs commit: src/bin/sh jobs.c)
Message-ID:  <19980404115157.13517@cons.org>
In-Reply-To: <199804040547.PAA13155@godzilla.zeta.org.au>; from Bruce Evans on Sat, Apr 04, 1998 at 03:47:42PM %2B1000
References:  <199804040547.PAA13155@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <cracauer@cons.org> 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



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