Andreas Schwab <address@hidden> wrote:
> This fixes an LFS bug in tail. On systems where sizeof (size_t) < sizeof
> (off_t) an overflow can occur when bytes_remaining is assigned, so that
> tail on a big file > 4G does not work correctly.
Hi Andreas!
Thank you both!
I've applied your patch.
It will be in coreutils-4.5.2.
> 2002-09-27 Andreas Schwab <address@hidden>
>
> * src/tail.c (tail_bytes): Change type of bytes_remaining to off_t
> to avoid overflow. Reported by Hans Lermen.
...