summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2014-01-17 03:54:29 +0000
committerPádraig Brady <P@draigBrady.com>2014-01-17 11:52:42 +0000
commit7fa1641db049912f59654153d077953714720ca2 (patch)
treeb9bf1910a6fa9f1ad26fb5d324455a0aa53b83a9 /NEWS
parent745de6dca52ef32cdaf9c459414b53d8a48459c3 (diff)
downloadcoreutils-7fa1641db049912f59654153d077953714720ca2.tar.xz
ln: fix replacing symbolic links whose targets can't exist
* src/ln.c (errno_nonexisting): A new function to determine if the errno implies that a file doesn't or can't (currently) exist. (target_directory_operand): Use the new function to expand the set of errors we handle. * tests/ln/sf-1.sh: Add test cases for the newly handled errors. * THANKS.in: Mention the reporter. * NEWS: Mention the bug fix.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 699a7d3a1..88a41547e 100644
--- a/NEWS
+++ b/NEWS
@@ -14,6 +14,10 @@ GNU coreutils NEWS -*- outline -*-
when reading the SELinux context for a file.
[bug introduced in coreutils-8.22]
+ ln -sf now replaces symbolic links whose targets can't exist. Previously
+ it would display an error, requiring --no-dereference to avoid the issue.
+ [bug introduced in coreutils-5.3.0]
+
* Noteworthy changes in release 8.22 (2013-12-13) [stable]