Bug: cp fails to treat foo as foo.exe (1.5.5-1)
librik@panix.com
librik@panix.com
Wed Oct 8 09:03:00 GMT 2003
SUMMARY:
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:
mkdir foo
touch foo/bar.exe
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.
Thanks,
- David Librik
librik@panix.com
--
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/
More information about the Cygwin
mailing list