kpathsea problem

Fabrice Popineau fabrice.popineau@supelec.fr
Mon, 7 Jun 1999 09:38:07 +0200


> >   dir c:\\
> > but
> >   dir c:\winnt\\fonts
> > will work. I guess this is just one of those features...
> 
> The reason for this is that leading double-backslash is interpreted by 
> Windows 9X as a possible \\server\share UNC-like path name.  So these 
> names usually work, but cause a long delay (while Windows tries to find 
> such a server on the net), and some people lose patience...

POSIX specifies that only when the first 2 chars are path separators, then
there might be a special meaning...

> Double slashes in any other place may or may not work; it all depends on 
> the particular system call and the utility which you are using to 
> interface with the system call (like shell or Explorer). 

And doesn't POSIX specifies too that any other double path separator
should act as if there were only one ?

Ok ... I know that M$ never claimed Win9x to be POSIX compliant :-))

Fabrice