Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make In jobs mode, if we cannot make a target we die...



details:   https://anonhg.NetBSD.org/src/rev/20266060ab10
branches:  trunk
changeset: 756926:20266060ab10
user:      sjg <sjg%NetBSD.org@localhost>
date:      Sat Aug 07 21:28:40 2010 +0000

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

diffstat:

 usr.bin/make/job.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 030bf15a0199 -r 20266060ab10 usr.bin/make/job.c
--- a/usr.bin/make/job.c        Sat Aug 07 21:09:48 2010 +0000
+++ b/usr.bin/make/job.c        Sat Aug 07 21:28:40 2010 +0000
@@ -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();
        }
 



Home | Main Index | Thread Index | Old Index