Bug with paths containing double slashes after double dot after a mount point
Corinna Vinschen
corinna-cygwin@cygwin.com
Sat Jun 18 08:32:00 GMT 2011
On Jun 17 16:29, Fahlgren, Eric wrote:
> Vadim Zeitlin wrote:
> > Could someone else please test this under Windows 7 to confirm the bug?
>
> Windows 7 Pro 64-bit
>
> $ ls C:/cygwin/lib/X11/../libc.a
> C:/cygwin/lib/X11/../libc.a
> $ ls C:/cygwin/lib/X11/..//libc.a
> ls: cannot access C:/cygwin/lib/X11/..//libc.a: No such file or directory
>
> $ uname -a
> CYGWIN_NT-6.1-WOW64 LM-XERXES 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin
Don't use Windows paths, use POSIX paths:
$ ls /lib/X11/../libc.a
libc.a
$ ls /lib/X11/..//libc.a
libc.a
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list