summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2011-05-24 09:59:08 +0100
committerPádraig Brady <P@draigBrady.com>2011-05-24 16:29:48 +0100
commit7d44751f0ea9d353c14edffbf89dc61dcafa8f22 (patch)
treebc5c62e21f1a4feb2173e6f9b6fd2a9113c1a36a /NEWS
parent9ead32a9be9543af3f1b73080a7391c89b1d784b (diff)
downloadcoreutils-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 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index a71f8327f..502a5c6cf 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,9 @@ GNU coreutils NEWS -*- outline -*-
printf '%d' '"' no longer accesses out-of-bounds memory in the diagnostic.
[bug introduced in sh-utils-1.16]
+ split --number l/... no longer creates extraneous files in certain cases.
+ [bug introduced in coreutils-8.8]
+
** New features
split accepts a new --filter=CMD option. With it, split filters output