summaryrefslogtreecommitdiff
path: root/implicit.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2009-06-10 02:21:09 +0000
committerPaul Smith <psmith@gnu.org>2009-06-10 02:21:09 +0000
commitc8840352acf40443a70ea3748130cee055154492 (patch)
tree1e0ab35d58e13f763e42aa1171112ce0daf080f6 /implicit.c
parentd4ee0012925815e069dd9996241703a7e9bd0338 (diff)
downloadgunmake-c8840352acf40443a70ea3748130cee055154492.tar.gz
- 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.
Diffstat (limited to 'implicit.c')
-rw-r--r--implicit.c3
1 files changed, 1 insertions, 2 deletions
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;