Home | History | Annotate | Download | only in robots
History log of /src/games/robots/robots.h
RevisionDateAuthorComments
 1.22  12-Aug-2009  dholland sprinkle static
 1.21  20-Jul-2009  dholland Assorted minor cleanups, no functional change:
- u_int* -> uint*
- don't make private typedefs of system structures
- use curses TRUE and FALSE only with curses booleans, otherwise
true and false;
- includes cleanup
- group globals in extern.c by functionality

Object file diffs inspected.
 1.20  20-Jul-2009  dholland Whitespace.
 1.19  20-Jul-2009  dholland ANSIfy. Use __dead. Object diffs checked.
 1.18  27-Jan-2004  jsm Remove uses of __P.
 1.17  27-Jan-2004  jsm Include <sys/endian.h>.
 1.16  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.15  31-Jan-2002  christos Be more verbose about teleports, and fix a minor problem in autobot mode.
 1.14  30-Sep-1999  jsm Fix uses of namespaces reserved by ISO C or POSIX.1.
 1.13  18-Sep-1999  jsm branches: 1.13.2;
Fix -Wsign-compare warnings.
 1.12  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.11  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.10  16-May-1999  christos Add missing prototypes
 1.9  15-May-1999  christos Add -A for automatic playing mode.
Make the score file MI
 1.8  13-Sep-1998  hubertf mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)
 1.7  12-Oct-1997  lukem deprecate bzero, rindex, etc. use symbolic constants in open()
 1.6  12-Oct-1997  lukem WARNSify
 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
 1.3  01-Aug-1993  mycroft Add RCS identifiers.
 1.2  23-Apr-1993  mycroft Make CTRL() ANSI-compliant.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  22-Apr-1995  cgd src/games/robots from Lite
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.13.2.1  27-Dec-1999  wrstuden Pull up to last week's -current.

RSS XML Feed