Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make Do not hard-code ingnoring of makeDependfile
details: https://anonhg.NetBSD.org/src/rev/607e4eaea813
branches: trunk
changeset: 340906:607e4eaea813
user: sjg <sjg%NetBSD.org@localhost>
date: Sat Oct 10 03:58:59 2015 +0000
description:
Do not hard-code ingnoring of makeDependfile
diffstat:
usr.bin/make/meta.c | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
diffs (26 lines):
diff -r 7eb746253dc8 -r 607e4eaea813 usr.bin/make/meta.c
--- a/usr.bin/make/meta.c Sat Oct 10 03:30:17 2015 +0000
+++ b/usr.bin/make/meta.c Sat Oct 10 03:58:59 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: meta.c,v 1.38 2015/04/11 05:24:30 sjg Exp $ */
+/* $NetBSD: meta.c,v 1.39 2015/10/10 03:58:59 sjg Exp $ */
/*
* Implement 'meta' mode.
@@ -1209,16 +1209,6 @@
break;
}
- if ((cp = strrchr(p, '/'))) {
- cp++;
- /*
- * We don't normally expect to see this,
- * but we do expect it to change.
- */
- if (strcmp(cp, makeDependfile) == 0)
- break;
- }
-
/*
* The rest of the record is the file name.
* Check if it's not an absolute path.
Home |
Main Index |
Thread Index |
Old Index