Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | When using -lcurses, you also need -lterminfo. | 2010-02-06 | 1 | -3/+3 | |
| | | | | This fixes the build for sun2, and also builds with LDSTATIC=-static, since archive libraries don't record inter-library dependencies. | ||||
* | sprinkle static | 2009-08-12 | 2 | -66/+67 | |
| | |||||
* | Remove redundant .br | 2009-03-11 | 1 | -2/+1 | |
| | |||||
* | if initscr() fails, exit with a message rather than crash in the | 2008-08-08 | 1 | -3/+4 | |
| | | | next curses call | ||||
* | Remove the \n and tabs from the __COPYRIGHT() strings. | 2008-07-20 | 2 | -8/+8 | |
| | |||||
* | convert __attribute__s to applicable cdefs.h macros | 2007-12-15 | 1 | -5/+5 | |
| | |||||
* | Replve duplicate #includes | 2007-01-17 | 1 | -3/+2 | |
| | | | From Slava Semushin <slava.semushin@gmail.com>, via private mail | ||||
* | if getpwuid() returns null, print out the uid rather than dereferencing | 2006-03-17 | 1 | -7/+15 | |
| | | | Addresses Coverity CID 930 | ||||
* | Fix overrun in players[] array. Addresses Coverty CID 1457 | 2006-03-17 | 1 | -3/+3 | |
| | |||||
* | Control -d by #ifdef DEBUG; adjust usage message accordingly. Bug | 2004-02-08 | 1 | -3/+7 | |
| | | | | reported by Malcolm Parsons <malcolm@ivywell.screaming.net> in Debian bug 84852. | ||||
* | Remove uses of __P. | 2004-01-27 | 2 | -28/+28 | |
| | |||||
* | Move UCB-licensed code from 4-clause to 3-clause licence. | 2003-08-07 | 4 | -26/+10 | |
| | | | Patches provided by Joel Baker in PR 22269, verified by myself. | ||||
* | New sentences begin on new lines. | 2002-09-26 | 1 | -5/+9 | |
| | | | Patch from Richard Elz, slightly improved by yours truly. | ||||
* | some makefile de-linting | 2002-09-18 | 1 | -2/+3 | |
| | |||||
* | MKfoo=no -> NOfoo= | 2001-12-12 | 1 | -5/+5 | |
| | |||||
* | Always lseek back to the beginning of the file in post(), which may be | 2001-08-31 | 1 | -3/+5 | |
| | | | | called twice in a game if a bonus occurs. Patch from Malcolm Parsons <malcolm@ivywell.screaming.net>. | ||||
* | Whitespace and/or punctuation fixes. | 2001-04-02 | 1 | -4/+4 | |
| | |||||
* | Use setgid(), not setregid(). | 2000-05-08 | 2 | -6/+6 | |
| | |||||
* | Improve snscore error handling. | 2000-01-21 | 1 | -4/+7 | |
| | |||||
* | fix handling of '-t' flag, and pause for a little bit after drawing happysnake | 1999-10-26 | 1 | -2/+5 | |
| | |||||
* | correct description of representation of snake | 1999-10-26 | 1 | -2/+2 | |
| | |||||
* | 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 | |
| |