Module Name:    src
Committed By:   sjg
Date:           Tue Jun  5 17:31:04 UTC 2012

Modified Files:
        src/usr.bin/make: compat.c

Log Message:
kill(2) is more appropriate and more portable than raise(3)


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/usr.bin/make/compat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/compat.c
diff -u src/usr.bin/make/compat.c:1.87 src/usr.bin/make/compat.c:1.88
--- src/usr.bin/make/compat.c:1.87	Tue Jun  5 06:11:51 2012
+++ src/usr.bin/make/compat.c	Tue Jun  5 17:31:04 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: compat.c,v 1.87 2012/06/05 06:11:51 sjg Exp $	*/
+/*	$NetBSD: compat.c,v 1.88 2012/06/05 17:31:04 sjg Exp $	*/
 
 /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -70,14 +70,14 @@
  */
 
 #ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: compat.c,v 1.87 2012/06/05 06:11:51 sjg Exp $";
+static char rcsid[] = "$NetBSD: compat.c,v 1.88 2012/06/05 17:31:04 sjg Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char sccsid[] = "@(#)compat.c	8.2 (Berkeley) 3/19/94";
 #else
-__RCSID("$NetBSD: compat.c,v 1.87 2012/06/05 06:11:51 sjg Exp $");
+__RCSID("$NetBSD: compat.c,v 1.88 2012/06/05 17:31:04 sjg Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -183,7 +183,7 @@ CompatInterrupt(int signo)
     if (signo == SIGQUIT)
 	_exit(signo);
     bmake_signal(signo, SIG_DFL);
-    raise(signo);
+    kill(myPid, signo);
 }
 
 /*-

Reply via email to