Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make Do not apply shellErrFlag unless errCheck is true.
details: https://anonhg.NetBSD.org/src/rev/48c1b372379d
branches: trunk
changeset: 789686:48c1b372379d
user: sjg <sjg%NetBSD.org@localhost>
date: Mon Sep 02 19:26:42 2013 +0000
description:
Do not apply shellErrFlag unless errCheck is true.
diffstat:
usr.bin/make/compat.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r 3b81c35da41f -r 48c1b372379d usr.bin/make/compat.c
--- a/usr.bin/make/compat.c Mon Sep 02 15:48:08 2013 +0000
+++ b/usr.bin/make/compat.c Mon Sep 02 19:26:42 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat.c,v 1.92 2013/07/05 22:14:56 sjg Exp $ */
+/* $NetBSD: compat.c,v 1.93 2013/09/02 19:26:42 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.92 2013/07/05 22:14:56 sjg Exp $";
+static char rcsid[] = "$NetBSD: compat.c,v 1.93 2013/09/02 19:26:42 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.92 2013/07/05 22:14:56 sjg Exp $");
+__RCSID("$NetBSD: compat.c,v 1.93 2013/09/02 19:26:42 sjg Exp $");
#endif
#endif /* not lint */
#endif
@@ -337,7 +337,7 @@
/*
* The following work for any of the builtin shell specs.
*/
- if (shellErrFlag) {
+ if (errCheck && shellErrFlag) {
shargv[shargc++] = shellErrFlag;
}
if (DEBUG(SHELL))
Home |
Main Index |
Thread Index |
Old Index