Module Name: src Committed By: seanb Date: Tue May 15 17:51:51 UTC 2012
Modified Files: src/usr.bin/make: compat.c Log Message: - Use _exit() instead of exit() in signal handler since the latter isn't signal safe. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 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.84 src/usr.bin/make/compat.c:1.85 --- src/usr.bin/make/compat.c:1.84 Fri Sep 16 15:38:03 2011 +++ src/usr.bin/make/compat.c Tue May 15 17:51:51 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: compat.c,v 1.84 2011/09/16 15:38:03 joerg Exp $ */ +/* $NetBSD: compat.c,v 1.85 2012/05/15 17:51:51 seanb 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.84 2011/09/16 15:38:03 joerg Exp $"; +static char rcsid[] = "$NetBSD: compat.c,v 1.85 2012/05/15 17:51:51 seanb 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.84 2011/09/16 15:38:03 joerg Exp $"); +__RCSID("$NetBSD: compat.c,v 1.85 2012/05/15 17:51:51 seanb Exp $"); #endif #endif /* not lint */ #endif @@ -180,7 +180,7 @@ CompatInterrupt(int signo) } } - exit(signo); + _exit(signo); } /*-