From owner-freebsd-current Wed Mar 11 18:04:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA03719 for freebsd-current-outgoing; Wed, 11 Mar 1998 18:04:18 -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 SAA03707 for ; Wed, 11 Mar 1998 18:04:14 -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 MAA09328; Thu, 12 Mar 1998 12:52:03 +1100 Date: Thu, 12 Mar 1998 12:52:03 +1100 From: Bruce Evans Message-Id: <199803120152.MAA09328@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. > >What were the reasons to use compat mode by default, BTW? Anyone has >test cases that fail in new mode with just one job allowed? Compatibility? :-) >diff -c make.original/job.c make.work/job.c >*** make.original/job.c Tue Aug 26 12:06:38 1997 >--- make.work/job.c Wed Mar 11 12:49:52 1998 >*************** >*** 2904,2910 **** > } > } > (void) eunlink(tfile); >! exit(signo); > } > > /* >--- 2904,2918 ---- > } > } > (void) eunlink(tfile); >! >! /* >! * For some signals, we don't want a direct exit, but to >! * let them resent to ourself, which is done by the calling >! * Routine. >! */ >! >! if (signo != SIGINT && signo != SIGTERM && signo != SIGHUP) >! exit(signo); > } > > /* I just removed the exit() in my version. This seems to be what was intended, and seems to work. I thought that the fix was necessary for compat mode too. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message