Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make $% is $(.MEMBER) and not $(.ARCHIVE), $! is $(....



details:   https://anonhg.NetBSD.org/src/rev/ffed1a736511
branches:  trunk
changeset: 814185:ffed1a736511
user:      matthias <matthias%NetBSD.org@localhost>
date:      Fri Mar 11 15:12:39 2016 +0000

description:
$% is $(.MEMBER) and not $(.ARCHIVE), $! is $(.ARCHIVE) and not $(.MEMBER)

diffstat:

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

diffs (40 lines):

diff -r 36cbf5254e9a -r ffed1a736511 usr.bin/make/var.c
--- a/usr.bin/make/var.c        Fri Mar 11 13:54:47 2016 +0000
+++ b/usr.bin/make/var.c        Fri Mar 11 15:12:39 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: var.c,v 1.206 2016/03/07 20:20:35 sjg Exp $    */
+/*     $NetBSD: var.c,v 1.207 2016/03/11 15:12:39 matthias Exp $       */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
  */
 
 #ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: var.c,v 1.206 2016/03/07 20:20:35 sjg Exp $";
+static char rcsid[] = "$NetBSD: var.c,v 1.207 2016/03/11 15:12:39 matthias 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.206 2016/03/07 20:20:35 sjg Exp $");
+__RCSID("$NetBSD: var.c,v 1.207 2016/03/11 15:12:39 matthias Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -3700,11 +3700,11 @@
                    case '@':
                        return UNCONST("$(.TARGET)");
                    case '%':
-                       return UNCONST("$(.ARCHIVE)");
+                       return UNCONST("$(.MEMBER)");
                    case '*':
                        return UNCONST("$(.PREFIX)");
                    case '!':
-                       return UNCONST("$(.MEMBER)");
+                       return UNCONST("$(.ARCHIVE)");
                }
            }
            /*



Home | Main Index | Thread Index | Old Index