Mail Archives: djgpp-workers/2001/12/27/11:08:13
On Thu, 27 Dec 2001, Charles Sandmann wrote:
> So, the glob routines can see the files, but ls can't stat them.
stat is one of the functions that depends on the drive being explicit
after a call to _fixpath. It needs that for the st_dev member. You may
wish to look at what _truename returns for a UNC as well.
In addition, I think we collapse multiple slashes into a single slash,
so the leading double slash might be munged by that. `ls' converts all
backslashes to forward slashes (see ls-msdos.c in the ported sources),
but you could modify ls-msdos.c to turn that off for UNCs, if making
the double backslash survive saves the day (we only collapse forward
slashes, not backslashes; see putpath.c).
- Raw text -