Module Name: src
Committed By: sjg
Date: Sat Oct 10 03:58:59 UTC 2015
Modified Files:
src/usr.bin/make: meta.c
Log Message:
Do not hard-code ingnoring of makeDependfile
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/usr.bin/make/meta.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/meta.c
diff -u src/usr.bin/make/meta.c:1.38 src/usr.bin/make/meta.c:1.39
--- src/usr.bin/make/meta.c:1.38 Sat Apr 11 05:24:30 2015
+++ src/usr.bin/make/meta.c Sat Oct 10 03:58:59 2015
@@ -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 @@ meta_oodate(GNode *gn, Boolean oodate)
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.