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]

Cygwin-1.7.7: mv appends .exe to directory if matching .exe exists



When there is a directory and an executable with the same name, mv adds .exe when renaming the directory:


% mkdir test2
% cd test2
% mkdir package-3.1.1
% touch package-3.1.1.exe
% mv package-3.1.1 package-3.1.2
% ls
package-3.1.1.exe  package-3.1.2.exe/

There is also a problem when there is an executable matching the name being moved to:

% mv package-3.1.2.exe package-3.1.2
% ls
package-3.1.1.exe  package-3.1.2/
% mv package-3.1.2 package-3.1.1
mv: cannot move `package-3.1.2' to `package-3.1.1': Not a directory

This happens with the latest snapshot of cygwin1.dll.

David

Attachment: cygcheck.out
Description: Text document

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