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 07:44:25 -0700

On Wed, May 15, 2013 at 4:18 AM, Paul Smith <address@hidden> wrote:
> However I have no problem making this something non-fatal.  I think it
> would be better to keep some kind of message, since otherwise it may be
> very confusing to users as to why make is silently ignoring some files.
> Obviously the current message is not appropriate.  Something that
> mentions the filename at least, and maybe the directory (on Windows; on
> other systems we don't have that information available)?

Given that this is a Windows-specific problem, couldn't the fallback
be that make switches over to native calls (FindXXXFile or
QueryDirectory or whatever) to read the problem directory? Or even
fork a shell and run "dir"? That would be ugly and a lot of work but
it might be the only real fix for the problem, which I gather is rare.
In fact maybe this search could always use the native API instead of
opendir/readdir?

David



reply via email to

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