| History log of /src/games/snake |
| Revision | Date | Author | Comments |
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS Ids, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/snake from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.10 | 06-Feb-2010 |
he | When using -lcurses, you also need -lterminfo. This fixes the build for sun2, and also builds with LDSTATIC=-static, since archive libraries don't record inter-library dependencies.
|
| 1.9 | 14-Sep-1999 |
jsm | Convert snake to use curses, and generally clean it up somewhat.
Includes bugfixes from or inspired by OpenBSD.
|
| 1.8 | 04-Feb-1998 |
christos | Remove -lcompat; not needed.
|
| 1.7 | 20-Nov-1997 |
mrg | install games that need it setgid.
|
| 1.6 | 22-Apr-1995 |
cgd | branches: 1.6.4; clean up import, NetBSD RCS Ids, etc.
|
| 1.5 | 22-Dec-1994 |
cgd | specify man pages the new way.
|
| 1.4 | 23-May-1994 |
cgd | need -lcompat
|
| 1.3 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.2 | 23-Mar-1993 |
cgd | got rid of unnecessary -lcompat and associated dependency
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/snake from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.6.4.1 | 20-Nov-1997 |
mrg | pull up from trunk: - install games files with the correct permissions. - install games that need it setgid.
|
| 1.18 | 14-Sep-1999 |
jsm | Convert snake to use curses, and generally clean it up somewhat.
Includes bugfixes from or inspired by OpenBSD.
|
| 1.17 | 08-Sep-1999 |
jsm | Add use of `const' where appropriate to 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).
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.
|
| 1.16 | 14-Aug-1999 |
tron | Adapt to change of "termcap.h".
|
| 1.15 | 14-Oct-1997 |
lukem | use <termcap.h>
|
| 1.14 | 12-Oct-1997 |
lukem | WARNSify, KNFify
|
| 1.13 | 03-Jul-1996 |
chopps | BS was using obsolete 'bs' and 'bc' capabilities. Now tries 'le' first. This deals with pr#2417
|
| 1.12 | 19-May-1996 |
pk | Avoid NULL-pointer deref and for now, simply exit if required terminal 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).
|
| 1.11 | 29-Apr-1995 |
mycroft | Fix usages of ospeed.
|
| 1.10 | 29-Apr-1995 |
mycroft | Use POSIX tty semantics.
|
| 1.9 | 22-Apr-1995 |
cgd | oops; delete duplicated functions.
|
| 1.8 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS Ids, etc.
|
| 1.7 | 05-Apr-1994 |
deraadt | TIOCGWINSZ
|
| 1.6 | 08-Dec-1993 |
mycroft | Eliminate a compiler warning.
|
| 1.5 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.4 | 20-Apr-1993 |
mycroft | Don't dereference NULL pointer.
|
| 1.3 | 19-Apr-1993 |
mycroft | Fix bug I introduced.
|
| 1.2 | 18-Apr-1993 |
mycroft | Cleanup for GCC 2.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/snake from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.5 | 12-May-2021 |
nia | snake: Avoid creating definitions prefixed with _ inside a program
|
| 1.4 | 07-Aug-2003 |
agc | branches: 1.4.102; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS Ids, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/snake from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.4.102.1 | 31-May-2021 |
cjep | sync with head
|
| 1.13 | 12-Mar-2016 |
dholland | snake(6) supports LCD displays too. (noted by tnn)
|
| 1.12 | 11-Mar-2009 |
joerg | Remove redundant .br
|
| 1.11 | 07-Aug-2003 |
agc | branches: 1.11.40; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.10 | 26-Sep-2002 |
wiz | New sentences begin on new lines. Patch from Richard Elz, slightly improved by yours truly.
|
| 1.9 | 02-Apr-2001 |
wiz | Whitespace and/or punctuation fixes.
|
| 1.8 | 26-Oct-1999 |
cgd | correct description of representation of snake
|
| 1.7 | 14-Sep-1999 |
jsm | branches: 1.7.2; Convert snake to use curses, and generally clean it up somewhat.
Includes bugfixes from or inspired by OpenBSD.
|
| 1.6 | 12-Oct-1997 |
lukem | WARNSify, KNFify
|
| 1.5 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS Ids, etc.
|
| 1.4 | 09-Aug-1993 |
jtc | Snake scores, etc. are stored in /var/games, not /usr/games/lib.
|
| 1.3 | 05-Aug-1993 |
jtc | Update to use new -mandoc macros.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS indentifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/snake from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.7.2.1 | 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.11.40.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.31 | 12-May-2021 |
nia | snake: Avoid creating definitions prefixed with _ inside a program
|
| 1.30 | 14-May-2020 |
msaitoh | branches: 1.30.2; Remove extra semicolon.
|
| 1.29 | 27-Jun-2016 |
dholland | Do not pass usleep() values >= 1 million. From Henning Petersen in PR 51286
|
| 1.28 | 19-Jun-2012 |
dholland | WARNS=5, and make WARNS=5 the default for src/games.
|
| 1.27 | 05-Dec-2010 |
pgoyette | branches: 1.27.6; Fix a few of the games to use getprogname() in their usage() functions.
Suggested by Joerg.
XXX There are probably many more that have their progname hard-coded, but XXX I'm not up for a wholesale roto-till at the moment.
|
| 1.26 | 12-Aug-2009 |
dholland | sprinkle static
|
| 1.25 | 08-Aug-2008 |
drochner | if initscr() fails, exit with a message rather than crash in the next curses call
|
| 1.24 | 20-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings.
|
| 1.23 | 15-Dec-2007 |
perry | branches: 1.23.6; convert __attribute__s to applicable cdefs.h macros
|
| 1.22 | 17-Jan-2007 |
hubertf | branches: 1.22.4; Replve duplicate #includes From Slava Semushin <slava.semushin@gmail.com>, via private mail
|
| 1.21 | 17-Mar-2006 |
abs | if getpwuid() returns null, print out the uid rather than dereferencing Addresses Coverity CID 930
|
| 1.20 | 08-Feb-2004 |
jsm | Control -d by #ifdef DEBUG; adjust usage message accordingly. Bug reported by Malcolm Parsons <malcolm@ivywell.screaming.net> in Debian bug 84852.
|
| 1.19 | 27-Jan-2004 |
jsm | Remove uses of __P.
|
| 1.18 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.17 | 31-Aug-2001 |
jsm | Always lseek back to the beginning of the file in post(), which may be called twice in a game if a bonus occurs. Patch from Malcolm Parsons <malcolm@ivywell.screaming.net>.
|
| 1.16 | 08-May-2000 |
mycroft | Use setgid(), not setregid().
|
| 1.15 | 26-Oct-1999 |
cgd | fix handling of '-t' flag, and pause for a little bit after drawing happysnake
|
| 1.14 | 14-Sep-1999 |
jsm | branches: 1.14.2; Convert snake to use curses, and generally clean it up somewhat.
Includes bugfixes from or inspired by OpenBSD.
|
| 1.13 | 12-Sep-1999 |
jsm | Security improvements for games (largely from or inspired by OpenBSD).
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.
|
| 1.12 | 08-Sep-1999 |
jsm | Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in the games.
|
| 1.11 | 08-Sep-1999 |
jsm | Add `__noreturn__' and `__unused__' attributes where appropriate to 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).
|
| 1.10 | 08-Sep-1999 |
jsm | Add use of `const' where appropriate to 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).
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.
|
| 1.9 | 12-Oct-1997 |
lukem | WARNSify, KNFify
|
| 1.8 | 29-Apr-1995 |
mycroft | Use POSIX tty semantics.
|
| 1.7 | 24-Apr-1995 |
cgd | Various changes to make games compile w/o warnings on the alpha: Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
|
| 1.6 | 22-Apr-1995 |
cgd | fix up botched include
|
| 1.5 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS Ids, etc.
|
| 1.4 | 01-Apr-1994 |
cgd | evil lseek casts...
|
| 1.3 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.2 | 18-Apr-1993 |
mycroft | Cleanup for GCC 2.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/snake from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.14.2.1 | 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.22.4.1 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.23.6.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.27.6.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.30.2.1 | 31-May-2021 |
cjep | sync with head
|
| 1.14 | 14-Sep-1999 |
jsm | Convert snake to use curses, and generally clean it up somewhat.
Includes bugfixes from or inspired by OpenBSD.
|
| 1.13 | 08-Sep-1999 |
jsm | Add `__noreturn__' and `__unused__' attributes where appropriate to 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).
|
| 1.12 | 08-Sep-1999 |
jsm | Add use of `const' where appropriate to 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).
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.
|
| 1.11 | 14-Aug-1999 |
tron | Adapt to change of "termcap.h".
|
| 1.10 | 13-Sep-1998 |
hubertf | mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)
|
| 1.9 | 14-Oct-1997 |
lukem | use <termcap.h>
|
| 1.8 | 12-Oct-1997 |
lukem | WARNSify, KNFify
|
| 1.7 | 03-Jul-1996 |
chopps | BS was using obsolete 'bs' and 'bc' capabilities. Now tries 'le' first. This deals with pr#2417
|
| 1.6 | 29-Apr-1995 |
mycroft | Fix usages of ospeed.
|
| 1.5 | 29-Apr-1995 |
mycroft | Use POSIX tty semantics.
|
| 1.4 | 24-Apr-1995 |
cgd | Various changes to make games compile w/o warnings on the alpha: Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS Ids, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/snake from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.7 | 18-Sep-2002 |
lukem | some makefile de-linting
|
| 1.6 | 12-Dec-2001 |
tv | MKfoo=no -> NOfoo=
|
| 1.5 | 13-Feb-1999 |
lukem | convert from NOxxx= to MKxxx=no. include <bsd.own.mk> if testing a MKxxx variable.
|
| 1.4 | 22-Oct-1997 |
lukem | use CPPFLAGS instead of CFLAGS
|
| 1.3 | 22-Apr-1995 |
cgd | branches: 1.3.4; clean up import, NetBSD RCS Ids, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/snake from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.3.4.1 | 08-Nov-1997 |
lukem | sync with trunk (approved by thorpej)
|
| 1.20 | 12-May-2021 |
kre | Adapt to recent change to ../snake/pathnames.h
|
| 1.19 | 19-Jun-2012 |
dholland | branches: 1.19.38; WARNS=5, and make WARNS=5 the default for src/games.
|
| 1.18 | 12-Aug-2009 |
dholland | branches: 1.18.6; sprinkle static
|
| 1.17 | 20-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings.
|
| 1.16 | 17-Mar-2006 |
abs | branches: 1.16.20; Fix overrun in players[] array. Addresses Coverty CID 1457
|
| 1.15 | 27-Jan-2004 |
jsm | Remove uses of __P.
|
| 1.14 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.13 | 08-May-2000 |
mycroft | Use setgid(), not setregid().
|
| 1.12 | 21-Jan-2000 |
jsm | Improve snscore error handling.
|
| 1.11 | 12-Sep-1999 |
jsm | Security improvements for games (largely from or inspired by OpenBSD).
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.
|
| 1.10 | 09-Sep-1999 |
jsm | Check for failure of malloc() and calloc() at various places in the games.
|
| 1.9 | 08-Sep-1999 |
jsm | Add use of `const' where appropriate to 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).
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.
|
| 1.8 | 11-Sep-1998 |
hubertf | fix main() prototype, per PR#5867
|
| 1.7 | 27-Jul-1998 |
mycroft | const poisoning.
|
| 1.6 | 12-Oct-1997 |
lukem | WARNSify, KNFify
|
| 1.5 | 24-Apr-1995 |
cgd | Various changes to make games compile w/o warnings on the alpha: Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
|
| 1.4 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS Ids, etc.
|
| 1.3 | 05-Apr-1994 |
cgd | initialize variable!
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/snake from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.16.20.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.18.6.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.19.38.1 | 31-May-2021 |
cjep | sync with head
|