bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LFS bug in tail


From: Jim Meyering
Subject: Re: LFS bug in tail
Date: Sat Sep 28 05:22:02 2002
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

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.
...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]