From b1b0f5c556f5b4080bf16525c309264de73084b7 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 10 Jun 2007 14:56:39 +0200 Subject: bug-fix: cp would fail to write through a dangling symlink * NEWS: Mention the bug fix. * src/copy.c (copy_reg): When open fails with EEXIST, the destination is lstat'able, and a symlink, call open again, but now without O_EXCL. * tests/cp/thru-dangling: New file, to test for the above fix. * tests/cp/Makefile.am (TESTS): Add thru-dangling. * THANKS: Add Michael McLagan. Bug report from Michael McLagan in . --- NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 715b0d698..9db7902d0 100644 --- a/NEWS +++ b/NEWS @@ -17,6 +17,9 @@ GNU coreutils NEWS -*- outline -*- ** Bug fixes + cp no longer fails to write through a dangling symlink + [bug introduced in coreutils-6.7] + cut now diagnoses a range starting with zero (e.g., -f 0-2) as invalid; before, it would treat it as if it started with 1 (-f 1-2). -- cgit v1.2.3-70-g09d2