Mail Archives: djgpp-workers/2001/12/27/09:38:30
On Thu, 27 Dec 2001, Martin Str|mberg wrote:
> > E.g. try "ls \\nonexistent\machine" some day.
>
> Yes. And your point is?
The point is that "ls nonexistent-file" returns immediately, as does
"ls x:" for a non-existent drive x:, while the above waits for a long
time before it returns to the caller.
Thus, if some program tries a list of possible directories until it
succeeds to find a valid one, it would work much slower, and could even
appear to hang, if one of the directories references a UNC, instead of
failing immediately.
One program which tries such a list of directories is GCC.
> (How would ever make _that_ work?)
I didn't mean it to work, but I do want the failure to be fast.
- Raw text -