[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in split - improper handling of a short read
From: |
Jim Meyering |
Subject: |
Re: bug in split - improper handling of a short read |
Date: |
Fri, 12 Sep 2003 08:48:43 +0200 |
"Boehn, Gunnar von" <address@hidden> wrote:
> I think I have found a bug in split.
> My split version is (coreutils) 4.5.4
...
> At a random points of the process,
> tar is to slow and split can not read the full expected pipe size of 4k.
Thank you for the report.
That was indeed a bug in 4.5.4.
It was probably fixed by this change, for 4.5.8.
2003-02-19 Jim Meyering <address@hidden>
...
* src/split.c: Include "full-read.h".
(bytes_split, lines_split, line_bytes_split): Use full_read,
not safe_read. The way split was using the latter, a short read
could cause split to terminate before EOF.
As Paul suggested, you should get a newer version.