From 288524b39b2a4c4d1669b16e4a6e0cefc7ed8912 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 28 Jul 2007 18:49:04 +0200 Subject: Attempt to copy a regular file, even if stat says it is empty. * NEWS: Document this bug fix. * src/copy.c (copy_reg): Read from a regular file, even if it appears (stat.st_size == 0) to be empty. This reverts an optimization introduced on 2005-11-23 for coreutils-6.0. Otherwise, "cp /proc/cpuinfo /tmp" creates an empty file, on e.g., linux-2.6.20. * tests/cp/proc-zero-len: New file. Test for the above. * tests/cp/Makefile.am (TESTS): Add proc-zero-len. Reported by Dan Berrangé. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- THANKS | 1 + 1 file changed, 1 insertion(+) (limited to 'THANKS') diff --git a/THANKS b/THANKS index 601ca8fdf..ae5269f31 100644 --- a/THANKS +++ b/THANKS @@ -110,6 +110,7 @@ Dan Hagerty hag@gnu.ai.it.edu Dan Jacobson http://www.geocities.com/jidani Dan Pascu dan@services.iiruc.ro Daniel Bergstrom noa@melody.se +Daniel P. Berrangé berrange@redhat.com Dániel Varga danielv@axelero.hu Danny Levinson danny.levinson@overture.com Darren Salt ds@youmustbejoking.demon.co.uk -- cgit v1.2.3-70-g09d2