Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Mar 2001 16:58:25 +0400
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/tail forward.c
Message-ID:  <20010328165823.A36803@nagual.pp.ru>
In-Reply-To: <20010328084457.A91235@walton.maths.tcd.ie>; from dwmalone@maths.tcd.ie on Wed, Mar 28, 2001 at 08:44:57AM %2B0100
References:  <200103272324.f2RNOQc56458@freefall.freebsd.org> <20010328084457.A91235@walton.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 28, 2001 at 08:44:57 +0100, David Malone wrote:

> The problem is that you only want to seek to the end of the data
> you have already displayed, not to the end of the file.  Otherwise
> if you are using "tail -f" and the file grows between the original
> stat and the fseek you will not print the data in between.
> 
> Can you confirm that fseeko(file_size, SEEK_SET) is actually correct?

I agree. I'll back my change out.

-- 
Andrey A. Chernov
http://ache.pp.ru/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010328165823.A36803>