Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make Don't use the cache when building nodes that mi...
details: https://anonhg.NetBSD.org/src/rev/5b9f1fcf76e8
branches: trunk
changeset: 779215:5b9f1fcf76e8
user: christos <christos%NetBSD.org@localhost>
date: Thu May 10 19:53:26 2012 +0000
description:
Don't use the cache when building nodes that might have changed since the
last exec.
diffstat:
usr.bin/make/make.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r 7e94e08fe797 -r 5b9f1fcf76e8 usr.bin/make/make.c
--- a/usr.bin/make/make.c Thu May 10 19:41:52 2012 +0000
+++ b/usr.bin/make/make.c Thu May 10 19:53:26 2012 +0000
@@ -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 @@
* 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));
Home |
Main Index |
Thread Index |
Old Index