Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Include <time.h> for declarations the Single Unix Specification says | 2001-08-29 | 1 | -2/+3 | |
| | | | are there but not in <sys/time.h>. | ||||
* | seperate -> separate | 2001-07-22 | 1 | -4/+4 | |
| | |||||
* | fix building of cards.pck | 2001-06-06 | 1 | -2/+2 | |
| | |||||
* | Whitespace and/or punctuation fixes. | 2001-04-02 | 1 | -8/+8 | |
| | |||||
* | avoid C sequence point issues warned about by development version of gcc. | 2001-01-16 | 2 | -7/+7 | |
| | |||||
* | remove unnecessary command name after .Nm | 2000-11-07 | 1 | -3/+3 | |
| | |||||
* | 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. | ||||
* | printf() pedant - do not pass variable alone, use %s. | 2000-07-10 | 1 | -4/+4 | |
| | | | idea from openbsd. after looking at freebsd commit msgs from kris@freebsd. | ||||
* | Fix typo, pointed out by seebs@plethora.net in PR bin/10131. | 2000-05-17 | 1 | -1/+1 | |
| | |||||
* | Use setgid(), not setregid(). | 2000-05-08 | 1 | -3/+3 | |
| | |||||
* | Use err(1, NULL) and warn(NULL) for `out of memory' error messages. | 2000-01-09 | 1 | -4/+4 | |
| | |||||
* | Don't use <err.h>. Use ANSI prototypes (no dependance on the __P() | 1999-12-30 | 2 | -33/+62 | |
| | | | | | | | | | | | | | 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()). | ||||
* | Fix uses of namespaces reserved by ISO C or POSIX.1. | 1999-09-30 | 3 | -9/+9 | |
| | |||||
* | Security improvements for games (largely from or inspired by OpenBSD). | 1999-09-12 | 1 | -2/+5 | |
| | | | | | | | | | | | | | | | Games which run setgid from dm, but don't need to, should drop their privileges at startup. Games which have a scorefile should open it at startup, then drop all privileges leaving just the open writable file descriptor. If the game can invoke subprocesses, this should be made close-on-exec. Games with scorefiles should make sure they do not get a file descriptor < 3. (Otherwise, they could get confused and corrupt the scorefile when using stdin, stdout or stderr.) Some old setuid revokes from the days of setuid games change into gid revokes. | ||||
* | 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 | 5 | -10/+23 | |
| | |||||
* | Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in | 1999-09-08 | 2 | -7/+7 | |
| | | | the games. | ||||
* | Add `__noreturn__' and `__unused__' attributes where appropriate to | 1999-09-08 | 1 | -3/+3 | |
| | | | | | | | | | | | | the games. 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). Most noreturn attributes were previously added in bin/6144, with some others that were missed then in bin/8082. Previous `unused' attributes were covered in bin/6557, bin/8058 and other PRs (all these PRs have already been handled and closed). | ||||
* | Add use of `const' where appropriate to the games. | 1999-09-08 | 13 | -58/+59 | |
| | | | | | | | | | 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 | 18 | -371/+377 | |
| | |||||
* | Instead of writing out a structure that contains pointers as the header | 1999-08-21 | 3 | -18/+62 | |
| | | | | | | 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. | ||||
* | convert from NOxxx= to MKxxx=no. | 1999-02-13 | 1 | -2/+4 | |
| | | | include <bsd.own.mk> if testing a MKxxx variable. | ||||
* | don't install in /usr/share if NOSHARE is defined | 1998-09-29 | 1 | -1/+3 | |
| | |||||
* | Make the helper programs compile right in a cross-compiling environment. | 1998-09-12 | 1 | -1/+4 | |
| | |||||
* | use symbolic constants for signals & open(2), as per PR#5867 | 1998-09-11 | 2 | -6/+6 | |
| | |||||
* | Add braces to make the new egcs happy. | 1998-08-30 | 2 | -6/+8 | |
| | |||||
* | WARNSify | 1997-10-12 | 19 | -328/+564 | |
| | |||||
* | enable WARNS?=1 by default, & temporarily disable for the few unclean programs | 1997-10-12 | 1 | -1/+2 | |
| | |||||
* | Allow this to be cross-compiled. | 1997-04-19 | 1 | -2/+2 | |
| | |||||
* | Make these compile on the PowerPC (an unsigned char system). | 1997-03-29 | 4 | -13/+23 | |
| | |||||
* | - Makefile cleanups | 1997-03-24 | 1 | -5/+3 | |
| | |||||
* | Use ${INSTALL}. | 1996-10-18 | 1 | -2/+2 | |
| | |||||
* | Various changes to make games compile w/o warnings on the alpha: | 1995-04-24 | 2 | -3/+6 | |
| | | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts. | ||||
* | merge with Lite, new RCS id conventions, etc. | 1995-03-23 | 25 | -86/+174 | |
| | |||||
* | from Lite | 1995-03-21 | 4 | -12/+12 | |
| | |||||
* | specify man pages the new way. | 1994-12-22 | 1 | -2/+2 | |
| | |||||
* | fix transposition. from Luke Mewburn <lm@rmit.edu.au> | 1994-03-19 | 1 | -3/+3 | |
| | |||||
* | Use .OBJDIR for auxiliary programs. | 1994-01-04 | 1 | -2/+2 | |
| | |||||
* | use LDSTATIC | 1993-11-08 | 1 | -2/+2 | |
| | |||||
* | Fix formatting error. | 1993-09-16 | 1 | -2/+2 | |
| | |||||
* | Nuke `all' dependency. bsd.prog.mk does it, and correctly. | 1993-08-10 | 1 | -3/+1 | |
| | |||||
* | Tweak for cross-compilation. | 1993-08-10 | 1 | -4/+4 | |
| | |||||
* | Update our -mandoc manpage with changes from new uunet -man manpage. | 1993-08-09 | 1 | -79/+74 | |
| | |||||
* | New version from uunet. | 1993-08-07 | 6 | -210/+147 | |
| | |||||
* | update to -mandoc macros | 1993-08-05 | 1 | -79/+74 | |
| | |||||
* | Add RCS identifiers. | 1993-08-01 | 18 | -18/+36 | |
| | |||||
* | Add RCS indentifiers. | 1993-08-01 | 1 | -1/+2 | |
| | |||||
* | Add RCS identifiers. | 1993-08-01 | 1 | -1/+2 | |
| | |||||
* | Use ${COPY}, not -c for install. | 1993-07-18 | 1 | -1/+1 | |
| | |||||
* | Use POSIX RAND_MAX rather than guessing. | 1993-04-19 | 1 | -20/+3 | |
| |