This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygpath -m behaviour change
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 13 Sep 2013 14:14:03 -0400
- Subject: Re: cygpath -m behaviour change
- Authentication-results: sourceware.org; auth=none
- References: <CAF+hkWqnyp=rHNe=LApugcP2ck3VR1byB7=CaEkxgmmbNmjurQ at mail dot gmail dot com> <CAAeCd-MYAs3Kp4aRbsva7wFbv8FieOw3yC3-cUEc5OyC9Jh+Hg at mail dot gmail dot com>
- Reply-to: cygwin at cygwin dot com
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