From owner-cvs-all Mon Apr 9 15: 1:17 2001 Delivered-To: cvs-all@freebsd.org Received: from freebsd.org.ru (sweet.etrust.ru [194.84.67.5]) by hub.freebsd.org (Postfix) with ESMTP id C375C37B422 for ; Mon, 9 Apr 2001 15:01:12 -0700 (PDT) (envelope-from osa@freebsd.org.ru) Received: by freebsd.org.ru (Postfix, from userid 1000) id 41C38244; Tue, 10 Apr 2001 02:01:04 +0400 (MSD) Date: Tue, 10 Apr 2001 02:01:03 +0400 From: "Sergey A. Osokin" To: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/tail forward.c Message-ID: <20010410020103.A80495@freebsd.org.ru> Reply-To: osa@FreeBSD.org.ru References: <200103272324.f2RNOQc56458@freefall.freebsd.org> <20010328084457.A91235@walton.maths.tcd.ie> <20010328165823.A36803@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010328165823.A36803@nagual.pp.ru>; from ache@nagual.pp.ru on Wed, Mar 28, 2001 at 04:58:25PM +0400 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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