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: 'cp' utility bug when <dest-name>.exe file exist.


Greetings, Eric Blake!

>> As to the "cp" issue, while IMHO, it should go ahead and do the copy,
>> a more instructive error message would be helpful:
>> 
>> cp: cannot create regular file `my': File 'my.exe' exists

> Huh?  Do the copy, then give a failure message?  No.  A failure message
> should only occur if the copy failed.

> Did you mean "continue to fail, but make the failure message more
> friendly?"

I'm pretty sure he did mean exactly that.
But I do see the problem in determining exact case of failure to provide such
informative error message.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 08.06.2010, <20:04>

Sorry for my terrible english...


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