Subject: Watch out for lseek and stat struct st_size fields!
To: None <>
From: None <>
List: amiga-dev
Date: 07/13/1994 12:05:11
	I've been bit hard in the last two days due to the 64 bit size of files
	in NetBSD. Make sure you cast references to file size in lseek
	to off_t and to cast references to the st_size field of the stat
	structure to int. You'll also run in to problems with sys_errlist's
	declaration under NetBSD, usually its safe to just wrap it in
	#if !defined(__NetBSD__)
	in programs.


	The tex/dvi/xdvi tools from work wonderfully and
	texinfo 3.1 does too. tex had the lseek syndrome, texinfo gobs of
	st_size references.