diff options
author | Pádraig Brady <P@draigBrady.com> | 2011-05-24 09:59:08 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2011-05-24 16:29:48 +0100 |
commit | 7d44751f0ea9d353c14edffbf89dc61dcafa8f22 (patch) | |
tree | bc5c62e21f1a4feb2173e6f9b6fd2a9113c1a36a /man/head.x | |
parent | 9ead32a9be9543af3f1b73080a7391c89b1d784b (diff) | |
download | coreutils-7d44751f0ea9d353c14edffbf89dc61dcafa8f22.tar.xz |
split: fix cases where -n l/... creates extraneous files
* src/split.c (lines_chunk_split): Ensure that data is only
written to stdout when k specified. Also ensure that
extra files are not created when there is more data available
than reported in the file size.
* tests/misc/split-lchunk: Verify that split -n l/k/n doesn't
generate any files, and that -n l/n always generates n files.
* NEWS: Mention the fix.
Diffstat (limited to 'man/head.x')
0 files changed, 0 insertions, 0 deletions