On Wed, May 15, 2013 at 11:09 AM, Paul Smith <psm...@gnu.org> wrote: > It's unlikely that the caching will be helpful when looking through your > %PATH%, in fact it may be counter-productive (adding useless directories > to make's internal cache). Make will likely not be trying to build > targets in directories in %PATH%. So really it's probably not the best > idea to use the caching readdir functionality to search for sh.exe.
So I guess we've achieved general agreement: 1. The particular case and bug that Eli described is best fixed with a more traditional PATH search. 2. What to do about the more general case of an opendir/readdir failure, when making legitimate use of the caching function, is still undetermined. Is it better to fail, as now, but with a somewhat better error message or continue with a warning that files in that directory will be ignored? Do I have that right (finally)? David _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make