This is the mail archive of the
mailing list for the Cygwin project.
Bug: cp fails to treat foo as foo.exe (1.5.5-1)
- From: <librik at panix dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 8 Oct 2003 03:19:26 -0400 (EDT)
- Subject: Bug: cp fails to treat foo as foo.exe (1.5.5-1)
In the latest version of Cygwin (1.5.5-1) the cp command has stopped
aliasing .exe files (e.g. foo.exe) to their .exe-less counterparts (e.g.
foo). An odd error message is printed instead. This is documented to
work. (cf. http://cygwin.com/cygwin-ug-net/using-specialnames.html )
This feature worked correctly in earlier versions of Cygwin, e.g. 1.3.22-1.
HOW TO REPRODUCE:
Download, install, and start Cygwin 1.5.5-1.
(My system: Windows XP SP1. DOS-type newlines selected in Setup.
Default shell is bash.)
Execute the following commands:
cp foo/bar bar
See the error message:
cp: 'foo/bar' and 'bar' are the same file
WHAT IS EXPECTED:
bar.exe should be copied to the current directory.
(This is what happens in Cygwin 1.3.22-1.)
Hope you can get this fixed for the next release.
- David Librik
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html