Module Name:    src
Committed By:   sjg
Date:           Mon Jun 24 21:16:02 UTC 2013

Modified Files:
        src/usr.bin/make: meta.c

Log Message:
Ignore any files in /proc/


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 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.30 src/usr.bin/make/meta.c:1.31
--- src/usr.bin/make/meta.c:1.30	Thu May 16 21:56:56 2013
+++ src/usr.bin/make/meta.c	Mon Jun 24 21:16:02 2013
@@ -1,4 +1,4 @@
-/*      $NetBSD: meta.c,v 1.30 2013/05/16 21:56:56 sjg Exp $ */
+/*      $NetBSD: meta.c,v 1.31 2013/06/24 21:16:02 sjg Exp $ */
 
 /*
  * Implement 'meta' mode.
@@ -1125,6 +1125,10 @@ meta_oodate(GNode *gn, Boolean oodate)
 		    if (strncmp(p, "/etc/", 5) == 0)
 			break;
 
+		    /* Ignore /proc/ too. */
+		    if (strncmp(p, "/proc/", 6) == 0)
+			break;
+
 		    if ((cp = strrchr(p, '/'))) {
 			cp++;
 			/*

Reply via email to