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:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=Byf 2asZtaqmottKIDborTMz02Bbfq1Zsv3djz1k2NXdUdD1279rfubXQMmVw+KyjcnL O6VJd6ryu1QGfBt5LJqJFWG2J1vdeDAs+f2Kp46vHB91XWEe068J8c85rS8SigXA soL7OIpZgDZDT90TQKOYwDjll5cbvjb7KpnPbHRc= 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:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; s=default; bh=Qb1iJ+gR7 MMI6DTgZx7fmKlpWzE=; b=cqbN1BqKJPIRVIiAP6g9/iK9/0m51iNspXwO3Kdew 7lnoz2axxli8kNwopsj79T2OiHij4v3ubNnfY6K9zCJqrzHPdLAXC7hGuAhZ+/F+ kK5dBRCd4xiFr40CBHCdI7jshiI1XKL2NZ4fGPrrvXk+6FRkKVSxndgojb9fHWfV 4Y= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=H*MI:NET, 2.7 X-HELO: mx02.jhcn.net From: Chevallier Yves To: "cygwin AT cygwin DOT com" Subject: cygpath compatiblity break (v2.1 -> v2.7) Date: Thu, 13 Apr 2017 12:34:28 +0000 Message-ID: <69c9334669c0420f88c515e77756880c@de01ex22.GLOBAL.JHCN.NET> x-ms-exchange-transport-fromentityheader: Hosted x-gfi-smtp-submission: 1 x-gfi-smtp-hellodomain: de01ex22.GLOBAL.JHCN.NET x-gfi-smtp-remoteip: 10.1.76.197 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v3DCYs06010397 I get a very different behaviour with `cygpath` after I upgrade my version of Cygwin. Why? and how can I fix it? With Cygwin 2.7: ``` $ uname -a CYGWIN_NT-6.1-WOW CPT 2.7.0(0.306/5/3) 2017-02-12 13:13 i686 Cygwin $ cygpath --version cygpath (cygwin) 2.7.0 $ cd / $ touch foo.exe $ cygpath -m foo foo.exe $ cd $ touch foo.exe $ cygpath -m foo foo ``` With Cygwin 2.1: ``` $ uname -a CYGWIN_NT-6.1-WOW CPT 2.1.0(0.287/5/3) 2015-07-14 21:26 i686 Cygwin $ cygpath --version cygpath (cygwin) 2.1.0 $ cd / $ touch foo.exe $ cygpath -m foo foo $ cd $ touch foo.exe $ cygpath -m foo foo ``` -- 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