summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-01-05 09:26:32 +0100
committerJim Meyering <meyering@redhat.com>2012-01-05 11:46:48 +0100
commit931e0f2a708965001857d60cedf1b1940389cbe6 (patch)
tree2daf52591d0285eaff9c1264548965e4713c0f75 /NEWS
parent4d3e398a74cf9546642c77be89e3bd811150faa4 (diff)
downloadcoreutils-931e0f2a708965001857d60cedf1b1940389cbe6.tar.xz
split: avoid failure due to leftover 'errno' value
* src/split.c (lines_chunk_split): Fix logic bug that led to unwarranted failure of "split -n l/2 /dev/zero" on NetBSD 5.1. The same would happen when splitting a growing file, where open/lseek-end gives one size, but by the time we read, there is more data available. (bytes_chunk_extract): Likewise. * NEWS (Bug fixes): Mention this. * tests/split/l-chunk: The latter case was not exercised. Add code to do that. Bug introduced with the chunk-selecting feature in v8.7-25-gbe10739. Co-authored-by: Jim Meyering <meyering@redhat.com>
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index ed6f83154..ceca0568b 100644
--- a/NEWS
+++ b/NEWS
@@ -29,6 +29,12 @@ GNU coreutils NEWS -*- outline -*-
and NcFsd file systems. This did not affect Unix/Linux-based kernels.
[bug introduced in coreutils-8.0, when rm began using fts]
+ split -n 1/2 FILE no longer fails when operating on a growing file, or
+ (on some systems) when operating on a non-regular file like /dev/zero.
+ It would report "/dev/zero: No such file or directory" even though
+ the file obviously exists. Same for -n l/2.
+ [bug introduced in coreutils-8.8, with the addition of the -n option]
+
stat -f now recognizes the FhGFS and PipeFS file system types.
tac no longer fails to handle two or more non-seekable inputs