From c8840352acf40443a70ea3748130cee055154492 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Wed, 10 Jun 2009 02:21:09 +0000 Subject: - Fix Savannah bug #19108 - Fix Savannah bug #17752 - Test suite: * When tests fail keep a "run" file containing the command invoked. * Support for the Valgrind "memcheck" and "massif" tools. --- implicit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'implicit.c') diff --git a/implicit.c b/implicit.c index 02b1a91..b536a58 100644 --- a/implicit.c +++ b/implicit.c @@ -423,7 +423,6 @@ pattern_search (struct file *file, int archive, for (ri = 0; ri < nrules; ri++) { - struct file *f; unsigned int failed = 0; int check_lastslash; int file_variables_set = 0; @@ -678,7 +677,7 @@ pattern_search (struct file *file, int archive, so it might actually exist. */ /* @@ dep->changed check is disabled. */ - if (((f = lookup_file (name)) != 0 && f->is_target) + if (lookup_file (name) != 0 /*|| ((!dep->changed || check_lastslash) && */ || file_exists_p (name)) continue; -- cgit v1.2.3