Module Name:    src
Committed By:   christos
Date:           Thu May 10 19:53:27 UTC 2012

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

Log Message:
Don't use the cache when building nodes that might have changed since the
last exec.


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/usr.bin/make/make.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/make.c
diff -u src/usr.bin/make/make.c:1.85 src/usr.bin/make/make.c:1.86
--- src/usr.bin/make/make.c:1.85	Sat Apr  7 14:29:08 2012
+++ src/usr.bin/make/make.c	Thu May 10 15:53:26 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: make.c,v 1.85 2012/04/07 18:29:08 christos Exp $	*/
+/*	$NetBSD: make.c,v 1.86 2012/05/10 19:53:26 christos Exp $	*/
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
  */
 
 #ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: make.c,v 1.85 2012/04/07 18:29:08 christos Exp $";
+static char rcsid[] = "$NetBSD: make.c,v 1.86 2012/05/10 19:53:26 christos Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char sccsid[] = "@(#)make.c	8.1 (Berkeley) 6/6/93";
 #else
-__RCSID("$NetBSD: make.c,v 1.85 2012/04/07 18:29:08 christos Exp $");
+__RCSID("$NetBSD: make.c,v 1.86 2012/05/10 19:53:26 christos Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -221,7 +221,7 @@ Make_OODate(GNode *gn)
      * doesn't depend on their modification time...
      */
     if ((gn->type & (OP_JOIN|OP_USE|OP_USEBEFORE|OP_EXEC)) == 0) {
-	(void)Dir_MTime(gn, 0);
+	(void)Dir_MTime(gn, 1);
 	if (DEBUG(MAKE)) {
 	    if (gn->mtime != 0) {
 		fprintf(debug_file, "modified %s...", Targ_FmtTime(gn->mtime));

Reply via email to