This is the mail archive of the
cygwin
mailing list for the Cygwin project.
cygpath compatiblity break (v2.1 -> v2.7)
- From: Chevallier Yves <YChevallier at etel dot ch>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Thu, 13 Apr 2017 12:34:28 +0000
- Subject: cygpath compatiblity break (v2.1 -> v2.7)
- Authentication-results: sourceware.org; auth=none
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