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

Modified Files:
	basesrc/games/monop: cards.c initdeck.c

Log Message:
Don't use <err.h>.  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.

Also fix ``bug'' in previous - even though the off_t pointers were
stored big-endian, the individual card lenghs were in host-order.  The
cards.pck files are now identical when make on a big- or little-endian

Now builds a correct cards.pck file on non-NetBSD machines as well
- tested on Ultrix and Solaris (but Solaris needs -lsocket to get

To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 basesrc/games/monop/cards.c
cvs rdiff -r1.11 -r1.12 basesrc/games/monop/initdeck.c

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