Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Curt Sampson <cjs@netbsd.org>
List: source-changes
Date: 09/17/1998 18:42:54
Module Name:	src
Committed By:	cjs
Date:		Fri Sep 18 01:42:54 UTC 1998

Modified Files:
	src/usr.bin/tail: forward.c
Log Message:
Remove tracking of file size by how many characters were output.
This succumbs to a race condition where data are written to the
file while the sleep is occurring. If a stat is done immediately
after, lastsize is updated but the file pointer wasn't pointing at
the end of the file, so the number of bytes between the current
pointer and the end of the file is added to the lastsize when
lastsize already points to the end of the file.