Date: Thu, 12 Mar 1998 14:44:04 +0100 From: Martin Cracauer <cracauer@cons.org> To: Bruce Evans <bde@zeta.org.au> Cc: cracauer@cons.org, freebsd-current@FreeBSD.ORG Subject: Re: make/SIGINT (Re: cvs commit: src/bin/sh jobs.c) Message-ID: <19980312144404.06129@cons.org> In-Reply-To: <199803120152.MAA09328@godzilla.zeta.org.au>; from Bruce Evans on Thu, Mar 12, 1998 at 12:52:03PM %2B1100 References: <199803120152.MAA09328@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <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 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980312144404.06129>