summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-09-26 22:16:51 +0000
committerRoland McGrath <roland@redhat.com>1994-09-26 22:16:51 +0000
commite938a511befdb102be568ed2046c5ea9e99a93aa (patch)
tree3e0fea139cdb6458ae6b1bc6ea46d7c1728f29bb
parenta96d572aa65f61c66f47e1c3ed64eb050c499654 (diff)
downloadgunmake-e938a511befdb102be568ed2046c5ea9e99a93aa.tar.gz
(selective_vpath_search): Reset EXISTS when stat fails.
-rw-r--r--vpath.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vpath.c b/vpath.c
index 8045357..480fcad 100644
--- a/vpath.c
+++ b/vpath.c
@@ -434,6 +434,8 @@ selective_vpath_search (path, file, mtime_ptr)
return 1;
}
+ else
+ exists = 0;
}
}