From 9d89ad56bf74b22471617ed99f9e6e6272efba22 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Thu, 15 Jul 1999 07:36:44 +0000 Subject: * Fix up and document $(apply ...) function. --- file.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'file.c') diff --git a/file.c b/file.c index 1321b55..2a9a791 100644 --- a/file.c +++ b/file.c @@ -348,6 +348,8 @@ in favor of those for `%s'.", /* %%% Kludge so -W wins on a file that gets vpathized. */ oldfile->last_mtime = file->last_mtime; + oldfile->mtime_before_update = file->mtime_before_update; + #define MERGE(field) oldfile->field |= file->field MERGE (precious); MERGE (tried_implicit); @@ -468,6 +470,7 @@ snap_deps () /* Mark this file as phony and nonexistent. */ f2->phony = 1; f2->last_mtime = (FILE_TIMESTAMP) -1; + f2->mtime_before_update = (FILE_TIMESTAMP) -1; } for (f = lookup_file (".INTERMEDIATE"); f != 0; f = f->prev) -- cgit v1.2.3