Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert snake to use curses, and generally clean it up somewhat. | 1999-09-14 | 5 | -1009/+213 | |
| | | | Includes bugfixes from or inspired by OpenBSD. | ||||
* | Security improvements for games (largely from or inspired by OpenBSD). | 1999-09-12 | 2 | -11/+30 | |
| | | | | | | | | | | | | | | | 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 failure of malloc() and calloc() at various places in the games. | 1999-09-09 | 1 | -4/+5 | |
| | |||||
* | Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in | 1999-09-08 | 1 | -5/+5 | |
| | | | the games. | ||||
* | Add `__noreturn__' and `__unused__' attributes where appropriate to | 1999-09-08 | 2 | -5/+5 | |
| | | | | | | | | | | | | 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 | 4 | -31/+29 | |
| | | | | | | | | | 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. | ||||
* | Adapt to change of "termcap.h". | 1999-08-14 | 2 | -5/+5 | |
| | |||||
* | convert from NOxxx= to MKxxx=no. | 1999-02-13 | 1 | -2/+2 | |
| | | | include <bsd.own.mk> if testing a MKxxx variable. | ||||
* | mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>) | 1998-09-13 | 1 | -3/+3 | |
| | |||||
* | fix main() prototype, per PR#5867 | 1998-09-11 | 1 | -6/+4 | |
| | |||||
* | const poisoning. | 1998-07-27 | 1 | -3/+3 | |
| | |||||
* | Remove -lcompat; not needed. | 1998-02-04 | 1 | -3/+3 | |
| | |||||
* | install games that need it setgid. | 1997-11-20 | 1 | -1/+2 | |
| | |||||
* | use CPPFLAGS instead of CFLAGS | 1997-10-22 | 1 | -2/+2 | |
| | |||||
* | use <termcap.h> | 1997-10-14 | 2 | -10/+4 | |
| | |||||
* | WARNSify, KNFify | 1997-10-12 | 5 | -547/+672 | |
| | |||||
* | BS was using obsolete 'bs' and 'bc' capabilities. Now tries 'le' first. | 1996-07-03 | 2 | -10/+13 | |
| | | | This deals with pr#2417 | ||||
* | Avoid NULL-pointer deref and for now, simply exit if required terminal | 1996-05-19 | 1 | -5/+14 | |
| | | | | | capabilities aren't there. Since the capabilities in question are marked `obsolete' in termcap(5), someone might want to have another look at this someday (PR#2417). | ||||
* | Fix usages of ospeed. | 1995-04-29 | 2 | -6/+6 | |
| | |||||
* | Use POSIX tty semantics. | 1995-04-29 | 3 | -51/+21 | |
| | |||||
* | Various changes to make games compile w/o warnings on the alpha: | 1995-04-24 | 3 | -7/+9 | |
| | | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts. | ||||
* | fix up botched include | 1995-04-22 | 1 | -3/+3 | |
| | |||||
* | oops; delete duplicated functions. | 1995-04-22 | 1 | -23/+2 | |
| | |||||
* | clean up import, NetBSD RCS Ids, etc. | 1995-04-22 | 9 | -59/+133 | |
| | |||||
* | specify man pages the new way. | 1994-12-22 | 1 | -2/+2 | |
| | |||||
* | need -lcompat | 1994-05-23 | 1 | -3/+3 | |
| | |||||
* | TIOCGWINSZ | 1994-04-05 | 1 | -3/+15 | |
| | |||||
* | initialize variable! | 1994-04-05 | 1 | -1/+2 | |
| | |||||
* | evil lseek casts... | 1994-04-01 | 1 | -4/+4 | |
| | |||||
* | Eliminate a compiler warning. | 1993-12-08 | 1 | -22/+22 | |
| | |||||
* | Snake scores, etc. are stored in /var/games, not /usr/games/lib. | 1993-08-09 | 1 | -4/+4 | |
| | |||||
* | Update to use new -mandoc macros. | 1993-08-05 | 1 | -45/+54 | |
| | |||||
* | Add RCS identifiers. | 1993-08-01 | 5 | -5/+10 | |
| | |||||
* | Add RCS indentifiers. | 1993-08-01 | 1 | -1/+2 | |
| | |||||
* | Add RCS identifiers. | 1993-08-01 | 3 | -3/+6 | |
| | |||||
* | Don't dereference NULL pointer. | 1993-04-20 | 1 | -1/+4 | |
| | |||||
* | Fix bug I introduced. | 1993-04-19 | 1 | -4/+4 | |
| | |||||
* | Cleanup for GCC 2. | 1993-04-18 | 2 | -11/+6 | |
| | |||||
* | got rid of unnecessary -lcompat and associated dependency | 1993-03-23 | 1 | -2/+2 | |
| | |||||
* | initial import of 386bsd-0.1 sources | 1993-03-21 | 9 | -0/+1921 | |