This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 4/13/2017 10:02 AM, Eric Blake wrote:
> On 04/13/2017 08:59 AM, cyg Simple wrote:
> 
> [an unreadable encrypted message]
> 
> You may want to fix your email settings; encrypted messages should
> generally not be used when sending to a mailing list.
> 

Sorry, Enigmail settings must have changed inadvertently.

I said:

On 4/13/2017 8:34 AM, 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?
>

What problem does the added ".exe" cause?

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

This appears to be a regression but why are we creating files in the
root directory?

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

-- 
cyg Simple

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]