delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/02/03:58:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 2 Mar 2005 09:57:54 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cp (coreutils) 5.2.1 Corrupts Binary File
Message-ID: <20050302085754.GA28084@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <200503020847 DOT j228lR6v007623 AT mail4 DOT magma DOT ca>
Mime-Version: 1.0
In-Reply-To: <200503020847.j228lR6v007623@mail4.magma.ca>
User-Agent: Mutt/1.4.2i

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 AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019