Mail Archives: djgpp-workers/2001/12/27/03:46:32
On Thu, 27 Dec 2001, Martin Str|mberg wrote:
> > It's not clear to me how to fix this. We should either augment those
> > library functions which tinker with file names to know about UNCs, or
> > write code to map between a UNC and a drive letter. The latter is
> > safer, but since the mapping can be changed behind our back (the user
> > can run "net use" from another DOS box), we cannot cache the mapping,
> > and will need to compute the drive letter each time, which will slow
> > down file-related system calls (especially since network-related calls
> > are slow).
>
> We could say "if you're out on the net, expect a slowdown".
In some not-so-rare cases, that slowdown could be 1 min or more, if
the network is down or a network drive is inaccessible.
E.g. try "ls \\nonexistent\machine" some day.
- Raw text -