This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug with paths containing double slashes after double dot after a mount point


On 6/17/2011 1:59 PM, Vadim Zeitlin wrote:
>   Hello,
>
>   I think I've discovered a bug with handling specific forms of "mixed" form
> paths in Cygwin 1.7. Here is the briefest possible demonstration:
>
> 	$ 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
>
> [...]
>
> P.S. I don't include detailed cygcheck output as I don't think it's of any
>       interest because the bug isn't system-dependent but please let me know
>       if it would be useful to send it nevertheless, e.g. if you can't
>       reproduce this behaviour.

Does not happen on my box:

$ ls C:/cygwin/lib/X11/../libc.a
C:/cygwin/lib/X11/../libc.a

$ ls C:/cygwin/lib/X11/..//libc.a
C:/cygwin/lib/X11/..//libc.a

$ mount|fgrep lib
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)

$ uname -a
CYGWIN_NT-5.1 WITD-ORL-IBOBY1 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin

Ilya Bobyr

Attachment: cygcheck.out
Description: cygcheck.out

--
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]