This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: stat()/lstat() problem (?)
On Apr 28 11:27, bertrand marquis wrote:
> ZXPLESPAC001, Ext a ?crit:
> >The question is:
> >- is the behavior on Linux/Solaris normal ? I fact there ain't a '//bin'
> >only a '/bin',
> >but even all the shells treat them as representing the same path (BTW 'cd
> >//bin' on
> >cygwin/bash doesn't work ...)
> >
> this is a normal error under cygwin, you should look at the FAQ: //
> refers to network places
>
> >- is it an error in cygwin ? Did all pathes (oops is my english very clear
> >?) have to
> >treat dupplicated '/' as single '/' ? Is the notion of a pathname
> >normalized
> >somewhere
> >(maybe posix ?) ?
> >
> you should remove all // under cygwin to avoid those errors
> see:
> http://cygwin.com/faq/faq_toc.html#TOC34
This is backed by SUSv3, btw. Two leading slashes are allowed to have a
implementation defined meaning (SMB network paths in case of Windows).
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Co-Project Leader mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/