This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Broken file move / renaming for Windows Portable Executable files in Cywin 1.7.1-1 on Server 2008.
- From: Sindhudweep Sarkar <sean at mavenomics dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 13 Jan 2010 14:58:16 -0500
- Subject: Broken file move / renaming for Windows Portable Executable files in Cywin 1.7.1-1 on Server 2008.
Hello,
It seems that the 'mv' command is appending a ".exe" extension to any
file it thinks is a PE when the file is moved.
For example if I have a file 'a' which happens to be a PE in the
current directory:
bash-3.2$ ls
a
bash-3.2$ mv a a.foo
bash-3.2$ ls
a.foo.exe
Is there any way to workaround or patch to fix this behavior? This
seems to affect any attempt at renaming files (not just mv).
This machine is a 64 bit Server 2008 machine.
bash-3.2$ uname -a
CYGWIN_NT-6.0-WOW64 MYHOSTNAME 1.7.1(0.218/5/3) 2009-12-07 11:48 i686 Cygwin
Best,
Sindhudweep Sarkar
--
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