This is the mail archive of the cygwin@cygwin.com 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]

Odd error message from cp and mv when omitting .exe suffix


I have noticed an oddity in the behaviour of the cp command.  It gives
an incorrect error message when I try to copy an .exe file but refer to it
without the .exe suffix:

cp calc /usr/local/bin/calc.new

This produces the incorrect message:

cp: calc and /usr/local/bin/calc.new are the same file.

The mv command also shows the bug.






--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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