From owner-freebsd-current Thu Mar 12 05:42:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA25746 for freebsd-current-outgoing; Thu, 12 Mar 1998 05:42:16 -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 FAA25735 for ; Thu, 12 Mar 1998 05:42:14 -0800 (PST) (envelope-from cracauer@cons.org) Received: (from cracauer@localhost) by cons.org (8.8.5/8.7.3) id OAA10903; Thu, 12 Mar 1998 14:44:05 +0100 (CET) Message-ID: <19980312144404.06129@cons.org> Date: Thu, 12 Mar 1998 14:44:04 +0100 From: Martin Cracauer To: Bruce Evans Cc: cracauer@cons.org, freebsd-current@FreeBSD.ORG Subject: Re: make/SIGINT (Re: cvs commit: src/bin/sh jobs.c) References: <199803120152.MAA09328@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 In-Reply-To: <199803120152.MAA09328@godzilla.zeta.org.au>; from Bruce Evans on Thu, Mar 12, 1998 at 12:52:03PM +1100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The appended fix seems to treat signals right for compat mode, too. I'll do some make world's with patched make and sh over the weekend and look for further trouble. Will try this patched make on Solaris as well, could be fun :-) 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 diff -C 3 -r make.original/compat.c make.work/compat.c *** make.original/compat.c Tue Aug 26 12:06:36 1997 --- make.work/compat.c Thu Mar 12 14:34:33 1998 *************** *** 125,131 **** } } ! exit (signo); } /*- --- 125,132 ---- } } ! (void) signal(signo,SIG_DFL); ! (void) kill(getpid(),signo); } /*- Binary files make.original/compat.o and make.work/compat.o differ diff -C 3 -r make.original/job.c make.work/job.c *** make.original/job.c Tue Aug 26 12:06:38 1997 --- make.work/job.c Thu Mar 12 14:34:55 1998 *************** *** 2904,2910 **** } } (void) eunlink(tfile); - exit(signo); } /* --- 2904,2909 ---- Binary files make.original/job.o and make.work/job.o differ Binary files make.original/make and make.work/make differ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message