Home | History | Annotate | Download | only in mille
History log of /src/games/mille/mille.c
RevisionDateAuthorComments
 1.20  31-Aug-2011  plunky NULL does not need a cast
 1.19  25-May-2009  dholland Use the time to call srandom(), not getpid().
 1.18  25-May-2009  dholland KNF/whitespace: format preprocessor directives correctly.
 1.17  25-May-2009  dholland ANSIfy function declarations. Object file diffs checked.
 1.16  08-Aug-2008  drochner if initscr() fails, exit with a message rather than crash in the
next curses call
 1.15  20-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
 1.14  15-Dec-2007  perry branches: 1.14.6;
convert __attribute__s to applicable cdefs.h macros
 1.13  07-Aug-2003  agc branches: 1.13.22;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.12  06-Dec-2001  blymn Change deprecated curses function to new equivalent.
 1.11  06-Apr-2001  wiz Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
 1.10  08-May-2000  mycroft Use setgid(), not setregid().
 1.9  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.8  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.7  29-Mar-1999  mrg defined(attron) does not mean there is a <term.h>
 1.6  12-Oct-1997  lukem WARNSify
 1.5  23-May-1997  jtc Change "reg" to "register"
Remove private implementation of erasechar() and killchar().
 1.4  24-Mar-1995  cgd rcs id conventions
 1.3  12-May-1994  jtc sync with 44lite, seems to fix bug #224
 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  12-May-1994  jtc 44lite code
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.13.22.1  09-Jan-2008  matt sync with HEAD
 1.14.6.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.

RSS XML Feed