From owner-freebsd-current Sun Mar 15 04:33:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA12735 for freebsd-current-outgoing; Sun, 15 Mar 1998 04:33:42 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA12729 for ; Sun, 15 Mar 1998 04:33:39 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id XAA06847; Sun, 15 Mar 1998 23:25:56 +1100 Date: Sun, 15 Mar 1998 23:25:56 +1100 From: Bruce Evans Message-Id: <199803151225.XAA06847@godzilla.zeta.org.au> To: bde@zeta.org.au, cracauer@cons.org Subject: Re: make/SIGINT (Re: cvs commit: src/bin/sh jobs.c) Cc: freebsd-current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >What about the appended fix for make? It seems to fix the problem for >the non-compat mode of make. As our make is in compat mode by default >even if -B is not given, people would have to use `make -j 1` for now >to test it. I found another problem: time(1) has much the same problem as make(1) has without these changes: #!/bin/sh make foo make bar the whole script is killed by ^C delivered during `make bar' (since our modified `make' kills itself with a SIGINT and our modified sh handles this specially although it does not let itself be killed directly). #!/bin/sh time make foo echo $? time make bar echo $? Now `time' exits normally with status 1, so our modified sh continues. #!/bin/bash gives the same behaviour. My old POSIX.2 docs don't specify time(1). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message