Web lists-archives.com

Re: cygpath compatiblity break (v2.1 -> v2.7)




On 13/04/2017 14:34, Chevallier Yves wrote:
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
```


latest is 2.8.0-1
https://cygwin.com/ml/cygwin-announce/2017-04/msg00001.html

In any directory, I see

$ touch foo.exe

$ cygpath -w foo
foo.exe

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