bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "*** INTERNAL: readdir: Invalid argument" error


From: David Boyce
Subject: Re: "*** INTERNAL: readdir: Invalid argument" error
Date: Wed, 15 May 2013 11:35:47 -0700

On Wed, May 15, 2013 at 11:09 AM, Paul Smith <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]