From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 83798 invoked by alias); 13 Apr 2017 12:34:32 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 83767 invoked by uid 89); 13 Apr 2017 12:34:31 -0000 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 Received: from mx02.jhcn.net (HELO mx02.jhcn.net) (194.25.102.130) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 13 Apr 2017 12:34:30 +0000 From: Chevallier Yves To: "cygwin@cygwin.com" Subject: cygpath compatiblity break (v2.1 -> v2.7) Date: Thu, 13 Apr 2017 13:29:00 -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: quoted-printable X-SW-Source: 2017-04/txt/msg00148.txt.bz2 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