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 (coreutils) 5.2.1 Corrupts Binary File


On Mar  2 03:52, Vincent Rowley wrote:
> Hi,
> 
> We found that cp corrupts binary files which is quite embarrassing...
> 
> peugeot[/cygdrive/c/WINDOWS/system32]> cp notepad.exe notepad_copy.exe
> peugeot[/cygdrive/c/WINDOWS/system32]> diff notepad.exe notepad_copy.exe
> Files notepad.exe and notepad_copy.exe differ
> 
> Please find attached the output of cygcheck -s -v -r .
> 
> Is anyone had this issue? Is there any workaround?

I just tried it on binmode and textmode mounts and in all combinations
from binmode to textmoe and vice versa.  In no case I could reproduce
your above observation.

Are you sure you ran Cygwin's cp and diff?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]