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/7a66c2bf2a6c
branches:  trunk
changeset: 811048:7a66c2bf2a6c
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 990cde893684 -r 7a66c2bf2a6c 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