diff options
author | Jim Meyering <meyering@redhat.com> | 2008-04-02 15:07:20 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-04-02 18:23:04 +0200 |
commit | c1b6f9458a55cdc1143a1ae3959c577004ff8e3f (patch) | |
tree | b0327fc56e3bbfa959e34b65576895f97f121428 /NEWS | |
parent | f3653f0d204a07d80444c261126360901b849e37 (diff) | |
download | coreutils-c1b6f9458a55cdc1143a1ae3959c577004ff8e3f.tar.xz |
"touch E; mkfifo F; cp -fR F E" no longer fails due to existing E
* src/copy.c (copy_internal): Revert change of 2005-03-01,
4303f0454592421eea48be87777d32a49e1d5e5b
Prompted by Michael Stone, who pointed me to an old bug report from
Ian Jackson: http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/7504
* tests/cp/special-f: New file. Test for the above.
* tests/cp/Makefile.am (TESTS): Add special-f.
* NEWS: mention this bug fix.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -6,6 +6,11 @@ GNU coreutils NEWS -*- outline -*- configure --enable-no-install-program=groups now works. + "cp -fR fifo E" now succeeds with an existing E. Before this fix, using + -fR to copy a fifo or "special" file onto an existing file would fail + with EEXIST. Now, it once again unlinks the destination before trying + to create the destination file. [bug introduced in coreutils-5.90] + dd once again works with unnecessary options like if=/dev/stdin and of=/dev/stdout. [bug introduced in fileutils-4.0h] |