delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/09/13/11:55:33

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:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=qk2lrHfuUeNTgkhderhBS6tM5JHlw
C6PdWdXMx6CtyvIMZZLCPeiXUHeMb06haDM2bD+FuDhtbCuKNoQQI/sJO9VYi/Tv
Y1FARxzkpj1E3HUUHUgLVPetkfRH53p7OBTAPvcub7vh1Tfiz7d2VZnZvkCKAUJW
pLjPvMWeSAIZag=
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:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=FiqgUgp1lizuZXocHDk3j+SkdrE=; b=qg0
upuxd0XqwV7Y1Anoqii7y9hjD2jFtv5SxNk20a2IX4E1e/fmmXW5CFTzH9Ms0JKP
vPPbcg5CukBpb34nuA2g/4lXrBlIrCTWx+xXtWExrvOOKVHP4IQJUu1NlPEiZIkP
FdAdtshIvGiBbmf7dSvnrzcpmqU/DerENedjbzEY=
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: No, score=2.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,NO_RELAYS autolearn=ham version=3.3.2
X-HELO: mail-ie0-f182.google.com
MIME-Version: 1.0
X-Received: by 10.50.21.6 with SMTP id r6mr1592184ige.44.1379087717733; Fri, 13 Sep 2013 08:55:17 -0700 (PDT)
Date: Fri, 13 Sep 2013 16:55:17 +0100
Message-ID: <CAF+hkWqnyp=rHNe=LApugcP2ck3VR1byB7=CaEkxgmmbNmjurQ@mail.gmail.com>
Subject: cygpath -m behaviour change
From: David Griffiths <david DOT griffiths AT gmail DOT com>
To: cygwin AT cygwin DOT com

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

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