delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/17/17:53:18

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,TW_YG
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: mjD.OBqswBAPbVUxYJaYPvc61jLEnpq8VnBwJGdbEJOPA9xw
Message-ID: <4DFBCCB7.2080408@sbcglobal.net>
Date: Fri, 17 Jun 2011 21:52:55 +0000
From: Greg Chicares <gchicares AT sbcglobal DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Bug with paths containing double slashes after double dot after a mount point
References: <E1QXeGw-0005zV-5X AT smtp DOT tt-solutions DOT com> <4DFBC1D2 DOT 4090207 AT ronin-capital DOT com> <loom DOT 20110617T231522-545 AT post DOT gmane DOT org>
In-Reply-To: <loom.20110617T231522-545@post.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 2011-06-17 21:23Z, Vadim Zeitlin wrote:
> Illia Bobyr <Illia.Bobyr <at> 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.

Another data point--no such problem with XP-SP3 and Cygwin-1.7.7:

$ls C:/cygwin-1_7/lib/X11/../libc.a
C:/cygwin-1_7/lib/X11/../libc.a
$ls C:/cygwin-1_7/lib/X11/..//libc.a
C:/cygwin-1_7/lib/X11/..//libc.a
$uname -a
CYGWIN_NT-5.1 earl 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019