summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2012-06-22 09:32:34 +0100
committerPádraig Brady <P@draigBrady.com>2012-06-22 11:34:21 +0100
commitae5846448f73d90ba9bd01cc9edc94bc0b168e46 (patch)
tree86d73149007b304586c0d8604ab39d0436528089 /NEWS
parent30a604e631291b80b9812e03e0f325489ae0d77e (diff)
downloadcoreutils-ae5846448f73d90ba9bd01cc9edc94bc0b168e46.tar.xz
split: ensure output doesn't overwrite input
* src/split.c (create): Check if output file is the same inode as the input file. * tests/split/guard-input: New test case. * tests/Makefile.am: Reference new test case. * NEWS: Mention the fix. Improved-by: Jim Meyering Reported-by: François Pinard
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 54d24c3c5..8c75a3291 100644
--- a/NEWS
+++ b/NEWS
@@ -18,6 +18,9 @@ GNU coreutils NEWS -*- outline -*-
ls --color would mis-color relative-named symlinks in /
[bug introduced in coreutils-8.17]
+ split now ensures it doesn't overwrite the input file with generated output.
+ [the bug dates back to the initial implementation]
+
stat and df now report the correct file system usage,
in all situations on GNU/Linux, by correctly determining the block size.
[df bug since coreutils-5.0.91, stat bug since the initial implementation]