Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: source-changes
Date: 12/29/1999 17:32:34
Module Name:	basesrc
Committed By:	simonb
Date:		Thu Dec 30 01:32:34 UTC 1999

Modified Files:
	basesrc/games/fortune/strfile: strfile.c

Log Message:
Don't use any NetBSD specific features (<err.h> and friends mainly
- replaiced with local die() and dieperror() routines).  Use ANSI
prototypes (no dependance on the __P() macro).  Add new fwrite_be_offt()
function which writes out a big-endian 64bit number regards of the size
of off_t on the host machine.  Remove unused unctrl() function.

Now builds correct fortune .dat files on non-NetBSD machines as well
- tested on Ultrix and Solaris (but Solaris needs -lsocket to get
htonl()).


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 basesrc/games/fortune/strfile/strfile.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.