Formerly vpath.c.~2~

This commit is contained in:
Roland McGrath 1992-10-09 17:35:03 +00:00
parent e567c8d914
commit 9603279fb8

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1988, 1989, 1991 Free Software Foundation, Inc. /* Copyright (C) 1988, 1989, 1991, 1992 Free Software Foundation, Inc.
This file is part of GNU Make. This file is part of GNU Make.
GNU Make is free software; you can redistribute it and/or modify GNU Make is free software; you can redistribute it and/or modify
@ -345,11 +345,6 @@ selective_vpath_search (path, file)
Now NAME is the name of the directory to look in. */ Now NAME is the name of the directory to look in. */
*n = '\0'; *n = '\0';
/* Make sure the directory exists and we know its contents. */
if (name_dplen > 0 && !dir_file_exists_p (name, ""))
/* It doesn't exist. */
continue;
/* We know the directory is in the hash table now because either /* We know the directory is in the hash table now because either
construct_vpath_list or the code just above put it there. construct_vpath_list or the code just above put it there.
Does the file we seek exist in it? */ Does the file we seek exist in it? */