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 /tests/split/fail | |
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 'tests/split/fail')
0 files changed, 0 insertions, 0 deletions