Date: Tue, 10 Apr 2001 02:01:03 +0400 From: "Sergey A. Osokin" <osa@freebsd.org.ru> To: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/tail forward.c Message-ID: <20010410020103.A80495@freebsd.org.ru> In-Reply-To: <20010328165823.A36803@nagual.pp.ru>; from ache@nagual.pp.ru on Wed, Mar 28, 2001 at 04:58:25PM %2B0400 References: <200103272324.f2RNOQc56458@freefall.freebsd.org> <20010328084457.A91235@walton.maths.tcd.ie> <20010328165823.A36803@nagual.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 28, 2001 at 04:58:25PM +0400, Andrey A. Chernov wrote: > 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. What about MFC before 4.3-RELEASE? Thanks. -- Rgdz, /"\ Sergey Osokin aka oZZ, \ / ASCII RIBBON CAMPAIGN osa@freebsd.org.ru X AGAINST HTML MAIL http://freebsd.org.ru/~osa/ / \ 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?20010410020103.A80495>