[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: binary mode copies
From: |
Jim Meyering |
Subject: |
Re: binary mode copies |
Date: |
Tue, 15 Mar 2005 23:47:15 +0100 |
Jim Meyering <address@hidden> wrote:
> Eric Blake <address@hidden> wrote:
>> The following patch, first proposed for cygwin, is needed on systems like
>> cygwin where not copying in binary mode can lead to data corruption. This
>> affects mv, cp, and install.
>>
>> 2005-03-15 Corinna Vinschen <address@hidden> (tiny change)
>>
>> * src/copy.c (copy_reg): Copy regular files in binary mode.
By the way, can you produce a small test case that fails
without this patch and that succeeds with it?
Best would be a patch adding a test to be run by `make check'.