From: Jim Meyering Date: Sat, 6 Mar 2004 17:41:00 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v5.2.1~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c6b3dffc5fec0cb45ddcadea9cf5b3cd4158445;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/ChangeLog b/ChangeLog index fd0db5f5c6..bd51345437 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,14 @@ -2004-03-02 Jim Meyering +2004-03-06 Jim Meyering * Version 5.2.1. + cp --sparse=always sparse-image-file.img /dev/hda1 could + produce an invalid copy on the destination device. + + * src/copy.c (copy_reg): Even with --sparse=always, try to + make `holes' only if the destination is a regular file. + Reported by Szakacsits Szabolcs. + 2004-03-03 Paul Eggert * src/nohup.c (main): Don't invoke set_cloexec_flag with @@ -15,7 +22,7 @@ 2004-03-01 Paul Eggert * configure.ac: Include when checking for strsignal, - sys_siglist, and friends. Problem reported by Toney Leneis in + sys_siglist, and friends. Problem reported by Tony Leneis in . 2004-02-25 Paul Eggert diff --git a/NEWS b/NEWS index 1fa955d9e7..b56f898201 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,9 @@ GNU coreutils NEWS -*- outline -*- ** Bug fixes + `cp --sparse=always F /dev/hdx' no longer tries to use lseek to create + holes in the destination. + nohup now sets the close-on-exec flag for its copy of the stderr file descriptor. This avoids some nohup-induced hangs. For example, before this change, if you ran `ssh localhost', then `nohup sleep 600