diff options
author | Pádraig Brady <P@draigBrady.com> | 2012-06-22 09:32:34 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2012-06-22 11:34:21 +0100 |
commit | ae5846448f73d90ba9bd01cc9edc94bc0b168e46 (patch) | |
tree | 86d73149007b304586c0d8604ab39d0436528089 /NEWS | |
parent | 30a604e631291b80b9812e03e0f325489ae0d77e (diff) | |
download | coreutils-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-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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] |