Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make Return varNoError rather than var_Error for ::?...



details:   https://anonhg.NetBSD.org/src/rev/5c5704ea6b5f
branches:  trunk
changeset: 330059:5c5704ea6b5f
user:      sjg <sjg%NetBSD.org@localhost>
date:      Fri Jun 20 06:13:45 2014 +0000

description:
Return varNoError rather than var_Error for ::?= etc.

diffstat:

 usr.bin/make/var.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 005547994fe6 -r 5c5704ea6b5f usr.bin/make/var.c
--- a/usr.bin/make/var.c        Thu Jun 19 18:01:18 2014 +0000
+++ b/usr.bin/make/var.c        Fri Jun 20 06:13:45 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: var.c,v 1.185 2014/05/19 22:09:58 sjg Exp $    */
+/*     $NetBSD: var.c,v 1.186 2014/06/20 06:13:45 sjg Exp $    */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
  */
 
 #ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: var.c,v 1.185 2014/05/19 22:09:58 sjg Exp $";
+static char rcsid[] = "$NetBSD: var.c,v 1.186 2014/06/20 06:13:45 sjg Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char sccsid[] = "@(#)var.c      8.3 (Berkeley) 3/19/94";
 #else
-__RCSID("$NetBSD: var.c,v 1.185 2014/05/19 22:09:58 sjg Exp $");
+__RCSID("$NetBSD: var.c,v 1.186 2014/06/20 06:13:45 sjg Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -2636,7 +2636,7 @@
                        break;
                    }
                    free(UNCONST(pattern.rhs));
-                   newStr = var_Error;
+                   newStr = varNoError;
                    break;
                }
                goto default_case; /* "::<unrecognised>" */



Home | Main Index | Thread Index | Old Index