X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,TW_YG,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Vadim Zeitlin Subject: Re: Bug with paths containing double slashes after double dot after a mount point Date: Fri, 17 Jun 2011 21:23:09 +0000 (UTC) Lines: 42 Message-ID: References: <4DFBC1D2 DOT 4090207 AT ronin-capital DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Illia Bobyr ronin-capital.com> writes: > > 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: Thanks for testing! > $ uname -a > CYGWIN_NT-5.1 WITD-ORL-IBOBY1 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin I see the following differences: - You have 1.7.9 while I have 1.7.8 and 1.7.7. - You have XP while I have 64 bit Windows 7. As I don't see any mention of such bug being fixed in 1.7.9 change log I suppose the really important difference is between the OS versions and/or 32 vs 64 bits. I'll try to install Cygwin into XP and 32 bit Windows 7 to check this too if nobody else posts the test results for these platforms until tomorrow. Thanks again, VZ -- 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