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]

RE: Inconsistence on file operation when the name already exists with exe extension


--On an empty dir--:

touch file.exe

touch file.img

touch file doesn't create the corresponding file.

--Then--

touch helpp

cp helpp file

cp: can't create regular file «file»: File exists

On rm file it removes the file.exe instead of saying file not found.

Is this behavior intended? This is not unix like, the filename should be preserved as is
 		 	   		  

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