Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make make parsing of library member targets work. So



details:   https://anonhg.NetBSD.org/src/rev/49ba5ba73c59
branches:  trunk
changeset: 344042:49ba5ba73c59
user:      matthias <matthias%NetBSD.org@localhost>
date:      Fri Mar 11 13:54:47 2016 +0000

description:
make parsing of library member targets work. So

lib.a(member.o): something
        cp something member.o
        ar r lib.a member.o
        rm member.o

will work now.

diffstat:

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

diffs (34 lines):

diff -r 978138079976 -r 49ba5ba73c59 usr.bin/make/parse.c
--- a/usr.bin/make/parse.c      Fri Mar 11 13:16:55 2016 +0000
+++ b/usr.bin/make/parse.c      Fri Mar 11 13:54:47 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: parse.c,v 1.212 2016/02/19 06:19:06 sjg Exp $  */
+/*     $NetBSD: parse.c,v 1.213 2016/03/11 13:54:47 matthias Exp $     */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
  */
 
 #ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: parse.c,v 1.212 2016/02/19 06:19:06 sjg Exp $";
+static char rcsid[] = "$NetBSD: parse.c,v 1.213 2016/03/11 13:54:47 matthias Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char sccsid[] = "@(#)parse.c    8.3 (Berkeley) 3/19/94";
 #else
-__RCSID("$NetBSD: parse.c,v 1.212 2016/02/19 06:19:06 sjg Exp $");
+__RCSID("$NetBSD: parse.c,v 1.213 2016/03/11 13:54:47 matthias Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -1247,6 +1247,7 @@
                goto out;
            } else {
                /* Done with this word; on to the next. */
+               cp = line;
                continue;
            }
        }



Home | Main Index | Thread Index | Old Index