Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use a local implementation of htonl() called h2nl(). htonl() is not | 2000-07-31 | 1 | -6/+26 | |
| | | | | | available in all cross-compile environments. Patches from Chris Demetriou. | ||||
* | Don't use <err.h>. Use ANSI prototypes (no dependance on the __P() | 1999-12-30 | 1 | -30/+59 | |
| | | | | | | | | | | | | | 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 machine. Now builds a correct cards.pck file on non-NetBSD machines as well - tested on Ultrix and Solaris (but Solaris needs -lsocket to get htonl()). | ||||
* | Check for write errors in auxiliary programs used during build of games. | 1999-09-10 | 1 | -6/+7 | |
| | |||||
* | Check for failure of malloc() and calloc() at various places in the games. | 1999-09-09 | 1 | -2/+5 | |
| | |||||
* | Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in | 1999-09-08 | 1 | -4/+4 | |
| | | | the games. | ||||
* | Add use of `const' where appropriate to the games. | 1999-09-08 | 1 | -4/+4 | |
| | | | | | | | | | This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093. | ||||
* | Convert to something resembling KNF. | 1999-08-21 | 1 | -22/+20 | |
| | |||||
* | Instead of writing out a structure that contains pointers as the header | 1999-08-21 | 1 | -10/+38 | |
| | | | | | | of the card decks file, just write out the number of cards for each deck. Also use "off_t" for offsets into the file (that are stored after the number of cards) instead of "long". /usr/share/games/cards.pck is now MI. | ||||
* | WARNSify | 1997-10-12 | 1 | -13/+24 | |
| | |||||
* | Make these compile on the PowerPC (an unsigned char system). | 1997-03-29 | 1 | -4/+4 | |
| | |||||
* | merge with Lite, new RCS id conventions, etc. | 1995-03-23 | 1 | -7/+12 | |
| | |||||
* | Add RCS identifiers. | 1993-08-01 | 1 | -1/+2 | |
| | |||||
* | initial import of 386bsd-0.1 sources | 1993-03-21 | 1 | -0/+184 | |