Module Name:    src
Committed By:   sjg
Date:           Sat Aug  7 21:28:40 UTC 2010

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

Log Message:
In jobs mode, if we cannot make a target we die without any further
clue.  Call PrintOnError() before DieHorribly().


To generate a diff of this commit:
cvs rdiff -u -r1.153 -r1.154 src/usr.bin/make/job.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/job.c
diff -u src/usr.bin/make/job.c:1.153 src/usr.bin/make/job.c:1.154
--- src/usr.bin/make/job.c:1.153	Sat Aug  7 06:44:08 2010
+++ src/usr.bin/make/job.c	Sat Aug  7 21:28:40 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: job.c,v 1.153 2010/08/07 06:44:08 sjg Exp $	*/
+/*	$NetBSD: job.c,v 1.154 2010/08/07 21:28:40 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: job.c,v 1.153 2010/08/07 06:44:08 sjg Exp $";
+static char rcsid[] = "$NetBSD: job.c,v 1.154 2010/08/07 21:28:40 sjg Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char sccsid[] = "@(#)job.c	8.2 (Berkeley) 3/19/94";
 #else
-__RCSID("$NetBSD: job.c,v 1.153 2010/08/07 06:44:08 sjg Exp $");
+__RCSID("$NetBSD: job.c,v 1.154 2010/08/07 21:28:40 sjg Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -1553,6 +1553,7 @@
 	 * also dead...
 	 */
 	if (!cmdsOK) {
+	    PrintOnError(gn, NULL);	/* provide some clue */
 	    DieHorribly();
 	}
 

Reply via email to