Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make Treat empty commands same as jobs mode



details:   https://anonhg.NetBSD.org/src/rev/f7bf9c120367
branches:  trunk
changeset: 781927:f7bf9c120367
user:      sjg <sjg%NetBSD.org@localhost>
date:      Sun Oct 07 19:17:31 2012 +0000

description:
Treat empty commands same as jobs mode

diffstat:

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

diffs (34 lines):

diff -r da0819b4c435 -r f7bf9c120367 usr.bin/make/compat.c
--- a/usr.bin/make/compat.c     Sun Oct 07 19:17:24 2012 +0000
+++ b/usr.bin/make/compat.c     Sun Oct 07 19:17:31 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat.c,v 1.89 2012/06/10 21:44:01 wiz Exp $  */
+/*     $NetBSD: compat.c,v 1.90 2012/10/07 19:17:31 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.89 2012/06/10 21:44:01 wiz Exp $";
+static char rcsid[] = "$NetBSD: compat.c,v 1.90 2012/10/07 19:17:31 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.89 2012/06/10 21:44:01 wiz Exp $");
+__RCSID("$NetBSD: compat.c,v 1.90 2012/10/07 19:17:31 sjg Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -244,7 +244,6 @@
 
     if (*cmdStart == '\0') {
        free(cmdStart);
-       Error("%s expands to empty string", cmd);
        return(0);
     }
     cmd = cmdStart;



Home | Main Index | Thread Index | Old Index