delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/09/13/14:14:21

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=cuzBvLk/UotwBmgW1C5Jlqzpk/l0gb1D7knXn3fHEZwKRcKSB++4L
CWtVgei8NcCehXZZnHNEnBt3J6UlQm+b2nT3OOfHAcqEtSDu/QXe6ttj+5kwHIyN
9/OqwyT6vx91Y0rOP4mDchfjl+EyPQ9GSoZBfE5G4IfnZsWPzVmgIg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=8SN3anN86AZg42yPX8weL5COYO8=; b=RMO3TwzhD/Ds1S1xOOaK29q/+O7r
pFkbaP83zRgbIKsWbeEcCjLDAss21Q6kftKlxa2Wo7GDQrGdykzQSNzkAdseBQ/l
J0zhRYO85HMZdfHIITuincjQuee0D5BIRpbte28IzjczGtaa9Kc8La/wWYgje3Rt
K6GHWelKM1RwlcU=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: Yes, score=5.1 required=5.0 tests=AWL,BAYES_50,FSL_HELO_NON_FQDN_1,HELO_LOCALHOST,RCVD_IN_PBL,RCVD_IN_RP_RNBL,RCVD_IN_SORBS_DUL,RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: mho-02-ewr.mailhop.org
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1/5tgN7LDD01mXz0BKw8y5U
Date: Fri, 13 Sep 2013 14:14:03 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygpath -m behaviour change
Message-ID: <20130913181403.GE7571@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAF+hkWqnyp=rHNe=LApugcP2ck3VR1byB7=CaEkxgmmbNmjurQ AT mail DOT gmail DOT com> <CAAeCd-MYAs3Kp4aRbsva7wFbv8FieOw3yC3-cUEc5OyC9Jh+Hg AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAAeCd-MYAs3Kp4aRbsva7wFbv8FieOw3yC3-cUEc5OyC9Jh+Hg@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)

On Fri, Sep 13, 2013 at 01:17:05PM -0400, Robert Pendell wrote:
>On Fri, Sep 13, 2013 at 11:55 AM, David Griffiths <> wrote:
>> I reinstalled cygwin after a disk failure recently and one of my
>> scripts stopped working. The problem can be easily reproduced by
>> entering:
>>
>>     $ cygpath -m boo/..
>>     cygpath: error converting "boo/.." - No such file or directory
>>
>> this is with version 1.7.24(0.269/5/3). On another machine with 1.7.17
>> installed, the same command results in "./".
>>
>> I can workaround by using backslashes instead of forward slashes but
>> other people might find their scripts broken as well.
>>
>> Cheers,
>>
>> Dave
>>
>
>I believe this behavior was changed in 1.7.22
>
>See this thread for more information but basically it was changed to
>conform /.. path checking to posix standards.
>
>http://cygwin.com/ml/cygwin/2013-05/msg00222.html

Yes, that's exactly right, assuming that 'boo' doesn't exist.

cgf

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