Home | History | Annotate | only in /src/games/atc
History log of /src/games/atc
RevisionDateAuthorComments
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.30 16-Aug-2011  christos document non-literal format strings
 1.29 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.28 29-Oct-2009  christos use %option noinput nounput
 1.27 20-Apr-2009  drochner define YY_NO_INPUT where appropriate, from Kurt J. Lidl per PR misc/41160
 1.26 28-Jan-2008  dholland branches: 1.26.12;
Make the default WARNS for games 4. The only game that needs to set WARNS
to anything else now is rogue, so clear WARNS from the other makefiles.
 1.25 07-Jun-2006  jnemeth branches: 1.25.10;
WARNS=4
 1.24 10-Aug-2005  rpaulo Enable WARNS=3.
 1.23 01-Aug-2003  lukem Rework how dependency generation is performed:

* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
This is a change of behaviour. If a Makefile wants the clean semantics
it must specifically append to CLEANFILES.
Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
 1.22 17-Jul-1999  hubertf The patch below improves the security of the game atc(6), by having it
open the score file at the start and then drop all setgid privileges
while keeping a (close-on-exec) file descriptor open to it. In order
to allow this the static data files have to be made world readable.
In addition a potential buffer overrun with corrupted score files is
avoided by more careful use of scanf (note that SCORE_SCANF_FMT is
defined alongside the definition of the relevant structure).

Submitted in PR 8015 by Joseph Myers <jsm28@cam.ac.uk>
 1.21 13-Feb-1999  lukem convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.20 29-Sep-1998  lukem don't install in /usr/share if NOSHARE is defined
 1.19 13-Sep-1998  hubertf remove unused files (PR#6083 by Joseph Myers <jsm28@cam.ac.uk>)
 1.18 13-May-1998  tv y.tab.h is now called grammar.h (and there's an implied .y.h rule now too)
Noticed by veego.
 1.17 09-Apr-1998  tv .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
 1.16 18-Feb-1998  jtc Simply include -lcurses instead of -lcurses -ltermcap
 1.15 29-Nov-1997  veego We need a FILESMODE=440 for dm which is now setgid games.
 1.14 20-Nov-1997  mrg install games that need it setgid.
 1.13 22-Oct-1997  lukem use CPPFLAGS instead of CFLAGS, fix dependancies for parallel compile
 1.12 10-Oct-1997  lukem branches: 1.12.2;
WARNSify
 1.11 24-Mar-1997  christos - Makefile cleanups
 1.10 18-Oct-1996  thorpej Use ${INSTALL}.
 1.9 21-Mar-1995  cgd clean up import
 1.8 25-Dec-1994  pk MAN6 => MAN.
 1.7 23-Dec-1994  phil adding 10 more games collected from ???? and some I wrote.
 1.6 22-Dec-1994  cgd specify man pages the new way.
 1.5 02-Dec-1993  jtc All programs that use lex must link with -ll.
 1.4 01-Aug-1993  mycroft Add RCS identifiers.
 1.3 09-Apr-1993  cgd make sure directory to install stuff exists before installing
 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 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.12.2.3 29-Nov-1997  mellon Pull rev 1.15 up from trunk (veego)
 1.12.2.2 20-Nov-1997  mrg pull up from trunk:
- install games files with the correct permissions.
- install games that need it setgid.
 1.12.2.1 08-Nov-1997  lukem pull up rev 1.13 (approved by thorpej)
 1.25.10.1 23-Mar-2008  matt sync with HEAD
 1.26.12.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.24 26-Jul-2015  wiz Use An in AUTHORS section.
 1.23 23-Jul-2015  pgoyette Sync descriptive text with actual game definition.
 1.22 15-Sep-2005  wiz Use standard AUTHORS section header. From YOMURA Masanori in private mail
Sort sections if necessary. Use more/better markup.
 1.21 01-Jan-2004  wiz Bump date for previous. Remove superfluous .Pp.
 1.20 01-Jan-2004  jsm Document that pressing return allows you to "fast forward" the game
clock. Patch from Peter Maydell <pmaydell@chiark.greenend.org.uk> in
Debian bug 216980.
 1.19 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.18 26-Jun-2003  wiz Use only one of -literal and -unfilled with Bd.
 1.17 26-Apr-2003  wiz Grammar fixes, from jmc@openbsd.
 1.16 25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.15 26-Sep-2002  wiz Lots of minor fixes resulting from reading these man pages in detail.
 1.14 26-Sep-2002  wiz Mdoc nits -- unneeded ".
 1.13 26-Sep-2002  wiz New sentences begin on new lines.
Patch from Richard Elz, slightly improved by yours truly.
 1.12 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.11 05-Jun-2001  wiz No argument for .Os.
 1.10 02-Apr-2001  wiz Whitespace and/or punctuation fixes.
 1.9 07-Nov-2000  lukem remove unnecessary command name after .Nm
 1.8 07-Nov-2000  lukem use lowercase with .Nm to match actual command name
 1.7 23-Sep-2000  jhawk Correct descriptions of "marked" vs. "ignored" -- they were swapped.
 1.6 17-Jul-1999  hubertf Add two .Els that nroff was complaining to miss.
 1.5 27-Jun-1999  sommerfeld man page rewritten into -mandoc by dholland@eecs.harvard.edu; from PR7861
 1.4 24-Jul-1998  briggs A collision is adjacency in all, not any of, three dimensions.
 1.3 21-Mar-1995  cgd clean up import
 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 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.7 22-Mar-2014  dholland Make the list of place types an enumeration. Use unsigned values for
place numbers.
 1.6 07-Aug-2003  agc branches: 1.6.54; 1.6.60;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.5 30-Sep-1999  jsm Fix uses of namespaces reserved by ISO C or POSIX.1.
 1.4 11-Sep-1998  hubertf branches: 1.4.4;
better define PI, plus improve prototype (PR#5867)
 1.3 21-Mar-1995  cgd clean up import
 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 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.4.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.60.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.54.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.12 19-Jun-2015  dholland Abolish the foul practice of including every header in existence via a
single central "include.h". Use only headers that are actually needed.
 1.11 12-Aug-2009  dholland sprinkle static
 1.10 31-Jan-2008  dholland Fix y2038 bug: time_t != int.
 1.9 10-Aug-2005  rpaulo branches: 1.9.10;
Pass lint(1).
 1.8 01-Jul-2005  jmc KNF and WARNS=3 fixes
 1.7 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.6 10-Nov-1998  hubertf constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk>
 1.5 10-Oct-1997  lukem WARNSify
 1.4 27-Apr-1995  mycroft Use POSIX signal and tty semantics.
 1.3 21-Mar-1995  cgd clean up import
 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 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.9.10.1 23-Mar-2008  matt sync with HEAD
 1.20 02-May-2021  rillig games: remove trailing whitespace in *.c and *.h
 1.19 25-Jun-2015  dholland Move game logic out of the file with the curses code.
 1.18 19-Jun-2015  dholland Abolish the foul practice of including every header in existence via a
single central "include.h". Use only headers that are actually needed.
 1.17 22-Mar-2014  dholland Make the list of place types an enumeration. Use unsigned values for
place numbers.
 1.16 12-Aug-2009  dholland branches: 1.16.6; 1.16.12;
sprinkle static
 1.15 25-May-2009  dholland attribute noreturn -> __dead
 1.14 31-Jan-2008  dholland Fix y2038 bug: time_t != int.
 1.13 10-Aug-2005  rpaulo branches: 1.13.10;
Pass lint(1).
 1.12 01-Jul-2005  jmc KNF and WARNS=3 fixes
 1.11 27-Jan-2004  jsm Remove uses of __P.
 1.10 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.9 05-Feb-2001  christos fix redundant decls and nested externs
 1.8 17-Jul-1999  hubertf The patch below improves the security of the game atc(6), by having it
open the score file at the start and then drop all setgid privileges
while keeping a (close-on-exec) file descriptor open to it. In order
to allow this the static data files have to be made world readable.
In addition a potential buffer overrun with corrupted score files is
avoided by more careful use of scanf (note that SCORE_SCANF_FMT is
defined alongside the definition of the relevant structure).

Submitted in PR 8015 by Joseph Myers <jsm28@cam.ac.uk>
 1.7 10-Nov-1998  hubertf constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk>
 1.6 13-Sep-1998  hubertf mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)
 1.5 10-Oct-1997  lukem WARNSify
 1.4 27-Apr-1995  mycroft Use POSIX signal and tty semantics.
 1.3 21-Mar-1995  cgd clean up import
 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 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.13.10.1 23-Mar-2008  matt sync with HEAD
 1.16.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.16.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.13 29-Oct-2021  nia atc(6): simplify reallocation logic
 1.12 19-Jun-2015  dholland Abolish the foul practice of including every header in existence via a
single central "include.h". Use only headers that are actually needed.
 1.11 22-Mar-2014  dholland Don't cast the return value of malloc.
 1.10 12-Aug-2009  dholland branches: 1.10.6; 1.10.12;
sprinkle static
 1.9 01-Jul-2005  jmc KNF and WARNS=3 fixes
 1.8 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.7 26-Jul-1999  hubertf Remove empty functin check_adir() and references to it.
 1.6 25-Jul-1999  hubertf This patch marks unused parameters in atc(6) as such.

Patch submitted in PR 8058 by Joseph Myers <jsm28@cam.ac.uk>
 1.5 21-Jul-1999  hubertf When atc(6) parses its game definition files, the check for `width'
being defined more than once incorrectly checks for `height' having
been previously defined instead.

Patch submitted in PR 8038 by Joseph Myers <jsm28@cam.ac.uk>
 1.4 10-Oct-1997  lukem WARNSify
 1.3 21-Mar-1995  cgd clean up import
 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 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.10.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.21 02-May-2021  rillig games: remove trailing whitespace in *.c and *.h
 1.20 25-Jun-2015  dholland Move game logic out of the file with the curses code.
 1.19 19-Jun-2015  dholland Abolish the foul practice of including every header in existence via a
single central "include.h". Use only headers that are actually needed.
 1.18 22-Mar-2014  dholland woops, more of previous.
 1.17 22-Mar-2014  dholland Make some things unsigned that should be (why would we need e.g. a
negative number of airports?) and remove some related bogus casts.
 1.16 12-Aug-2009  dholland branches: 1.16.6; 1.16.12;
sprinkle static
 1.15 08-Aug-2008  drochner if initscr() fails, exit with a message rather than crash in the
next curses call
 1.14 15-Dec-2007  perry branches: 1.14.6;
convert __attribute__s to applicable cdefs.h macros
 1.13 07-Jun-2006  jnemeth branches: 1.13.10;
bracket else block
 1.12 10-Aug-2005  rpaulo Pass lint(1).
 1.11 01-Jul-2005  jmc KNF and WARNS=3 fixes
 1.10 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.9 10-Sep-1999  jsm Compare getchar() against EOF, not -1.
 1.8 28-Jul-1999  hubertf In atc(6), the function getAChar() has BSD and SYSV variants to deal
with variations in EINTR behaviour, but the optimisation of using the
BSD version where the SYSV version isn't needed is insignificant.
This patch therefore simplifies the code by making there be just one
version, a more paranoid (about EOF when errno is already EINTR)
version of the SYSV code. Since the BSD/SYSV defines are mainly used
to control whether BSD timers are used, this helps where BSD timers
but SYSV EINTR handling are wanted.

Patch supplied in PR 8091 by Joseph Myers <jsm28@cam.ac.uk>
 1.7 25-Jul-1999  hubertf This patch marks unused parameters in atc(6) as such.

Patch submitted in PR 8058 by Joseph Myers <jsm28@cam.ac.uk>
 1.6 24-Jul-1999  hubertf This patch makes atc(6) check for memory allocation failure.

Patch submitted by Joseph Myers <jsm28@cam.ac.uk> in PR 8056,
with small enhancement to make clearer when loser() is called
with NULL.
 1.5 10-Nov-1998  hubertf constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk>
 1.4 10-Oct-1997  lukem WARNSify
 1.3 21-Mar-1995  cgd clean up import
 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 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.13.10.1 09-Jan-2008  matt sync with HEAD
 1.14.6.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.16.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.16.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.10 19-Jun-2015  dholland Abolish the foul practice of including every header in existence via a
single central "include.h". Use only headers that are actually needed.
 1.9 07-Jun-2006  jnemeth prevent "stack" overflow
 1.8 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.7 29-Aug-2001  jsm Include <time.h> for declarations the Single Unix Specification says
are there but not in <sys/time.h>.
 1.6 10-Oct-1997  lukem WARNSify
 1.5 27-Apr-1995  mycroft Use POSIX signal and 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 21-Mar-1995  cgd clean up import
 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 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.30 02-May-2021  rillig games: remove trailing whitespace in *.c and *.h
 1.29 19-Jun-2015  dholland Abolish the foul practice of including every header in existence via a
single central "include.h". Use only headers that are actually needed.
 1.28 22-Mar-2014  dholland Make the list of place types an enumeration. Use unsigned values for
place numbers.
 1.27 22-Mar-2014  dholland use a more suitable type
 1.26 22-Mar-2014  dholland use more suitable types
 1.25 22-Mar-2014  dholland Make some things unsigned that should be (why would we need e.g. a
negative number of airports?) and remove some related bogus casts.
 1.24 12-Aug-2009  dholland branches: 1.24.6; 1.24.12;
sprinkle static
 1.23 26-May-2009  dholland sprintf -> snprintf
 1.22 15-Dec-2007  perry convert __attribute__s to applicable cdefs.h macros
 1.21 07-Oct-2006  elad branches: 1.21.8;
Input validation, from David A. Holland on #NetBSD-code
 1.20 07-Jun-2006  jnemeth prevent "stack" overflow
 1.19 10-Aug-2005  rpaulo Pass lint(1).
 1.18 01-Jul-2005  jmc KNF and WARNS=3 fixes
 1.17 15-Feb-2005  jsm Cast last argument of execl to (char *).

Reviewed by <hubertf>.
 1.16 27-Jan-2004  jsm Remove uses of __P.
 1.15 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.14 16-Jan-2001  cgd comment or delete text after CPP directives.
 1.13 25-Jul-1999  hubertf This patch marks unused parameters in atc(6) as such.

Patch submitted in PR 8058 by Joseph Myers <jsm28@cam.ac.uk>
 1.12 17-Jul-1999  hubertf The patch below improves the security of the game atc(6), by having it
open the score file at the start and then drop all setgid privileges
while keeping a (close-on-exec) file descriptor open to it. In order
to allow this the static data files have to be made world readable.
In addition a potential buffer overrun with corrupted score files is
avoided by more careful use of scanf (note that SCORE_SCANF_FMT is
defined alongside the definition of the relevant structure).

Submitted in PR 8015 by Joseph Myers <jsm28@cam.ac.uk>
 1.11 10-Nov-1998  hubertf constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk>
 1.10 13-Sep-1998  hubertf Replace special handling of \r by using ICRNL (PR#6078 by Joseph Myers <jsm28@cam.ac.uk>)
 1.9 28-Jul-1998  briggs An airplane on a heading of 315, given instruction to turn
right 45 degrees should turn to direction 0, not circle.
 1.8 28-Jul-1998  briggs An airplane on a heading of 270, given instruction to turn
right 90 degrees should turn to direction 0, not circle.
 1.7 29-Mar-1998  mrg - don't use char as an array index
 1.6 10-Oct-1997  lukem WARNSify
 1.5 13-Jan-1997  tls bfunctions -> memfunctions
 1.4 27-Apr-1995  mycroft Use POSIX signal and tty semantics.
 1.3 21-Mar-1995  cgd clean up import
 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 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.21.8.1 09-Jan-2008  matt sync with HEAD
 1.24.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.24.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.9 19-Jun-2015  dholland Abolish the foul practice of including every header in existence via a
single central "include.h". Use only headers that are actually needed.
 1.8 29-Oct-2009  christos use %option noinput nounput
 1.7 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.6 09-Apr-1998  tv .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
 1.5 10-Oct-1997  lukem XXX: work around lex(1) vs termios lameness
 1.4 10-Oct-1997  lukem WARNSify
 1.3 21-Mar-1995  cgd clean up import
 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 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10 02-May-2021  rillig games: remove trailing whitespace in *.c and *.h
 1.9 19-Jun-2015  dholland Abolish the foul practice of including every header in existence via a
single central "include.h". Use only headers that are actually needed.
 1.8 22-Mar-2014  dholland Don't cast the return value of malloc.
 1.7 01-Jul-2005  jmc branches: 1.7.42; 1.7.48;
KNF and WARNS=3 fixes
 1.6 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.5 19-Jun-2001  wiz `existent', not `existant'
 1.4 10-Oct-1997  lukem WARNSify
 1.3 21-Mar-1995  cgd clean up import
 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 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.7.48.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.42.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.25 02-May-2021  rillig games: remove trailing whitespace in *.c and *.h
 1.24 19-Mar-2019  pgoyette Report the users score _after_ the game has ended and the screen has
been restored to pre-game state. Otherwise, the user gets a message
that their score did (or more likely, did not) improve over their
previous score, yet the user has no indication of what the current
score actually was!
 1.23 10-Jan-2017  christos branches: 1.23.14;
ned stat.h
 1.22 19-Jun-2015  dholland branches: 1.22.2;
Abolish the foul practice of including every header in existence via a
single central "include.h". Use only headers that are actually needed.
 1.21 12-Aug-2009  dholland sprinkle static
 1.20 26-May-2009  dholland sprintf -> snprintf
 1.19 15-Dec-2007  perry convert __attribute__s to applicable cdefs.h macros
 1.18 07-Jun-2006  jnemeth branches: 1.18.10;
Don't follow symlinks on systems that have O_NOFOLLOW.
Don't bother looping with lockf() since first iteration would return.
Prevent two buffer overflows.
 1.17 10-Aug-2005  rpaulo Added a missing '-' in score list output.
 1.16 10-Aug-2005  rpaulo Pass lint(1).
 1.15 10-Aug-2005  rpaulo Fixed an output bug where a new-line was added due the usage of puts(3).
 1.14 01-Jul-2005  jmc KNF and WARNS=3 fixes
 1.13 07-Sep-2004  jrf Replaced strncpy with strlcpy. Thanks to Peter Postma who
pointed them our in PR #25762. Approved by christos@NetBSD.org.
 1.12 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.11 16-Jan-2001  cgd comment or delete text after CPP directives.
 1.10 25-Jul-1999  hubertf This patch marks unused parameters in atc(6) as such.

Patch submitted in PR 8058 by Joseph Myers <jsm28@cam.ac.uk>
 1.9 17-Jul-1999  hubertf The patch below improves the security of the game atc(6), by having it
open the score file at the start and then drop all setgid privileges
while keeping a (close-on-exec) file descriptor open to it. In order
to allow this the static data files have to be made world readable.
In addition a potential buffer overrun with corrupted score files is
avoided by more careful use of scanf (note that SCORE_SCANF_FMT is
defined alongside the definition of the relevant structure).

Submitted in PR 8015 by Joseph Myers <jsm28@cam.ac.uk>
 1.8 10-Nov-1998  hubertf constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk>
 1.7 24-Jul-1998  hubertf Log hostname, not OS - PR 5831 by Joseph Myers <jsm28@cam.ac.uk>
 1.6 11-Oct-1997  lukem use warn instead of perror/fprintf/...
 1.5 10-Oct-1997  lukem WARNSify
 1.4 13-Jan-1997  tls bfunctions -> memfunctions
 1.3 21-Mar-1995  cgd clean up import
 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 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.18.10.1 09-Jan-2008  matt sync with HEAD
 1.22.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.23.14.1 10-Jun-2019  christos Sync with HEAD
 1.25 02-May-2021  rillig games: remove trailing whitespace in *.c and *.h
 1.24 25-Jun-2015  dholland Move game logic out of the file with the curses code.
 1.23 19-Jun-2015  dholland Abolish the foul practice of including every header in existence via a
single central "include.h". Use only headers that are actually needed.
 1.22 22-Mar-2014  dholland Make the list of place types an enumeration. Use unsigned values for
place numbers.
 1.21 12-Oct-2012  dholland Don't use ++ to set flags to true. Now passes -Wstrict-overflow.
 1.20 12-Aug-2009  dholland branches: 1.20.6; 1.20.12;
sprinkle static
 1.19 20-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
 1.18 31-Jan-2008  dholland branches: 1.18.6;
Fix y2038 bug: time_t != int.
 1.17 07-Jun-2006  jnemeth branches: 1.17.10;
Actually accept "?" argument as documented in the manpage.
Don't attempt to ignore an untrappable signal.
Fix 6 possible buffer overflows.
 1.16 18-Mar-2006  christos Coverity CID 1786: Close file.
 1.15 10-Aug-2005  rpaulo Pass lint(1).
 1.14 01-Jul-2005  jmc KNF and WARNS=3 fixes
 1.13 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.12 05-Feb-2001  christos fix redundant decls and nested externs
 1.11 08-May-2000  mycroft Use setgid(), not setregid().
 1.10 24-Jul-1999  mjl Use getopt instead of home grown command line parsing.
Patch from Joseph Myers <jsm28@cam.ac.uk> in PR/8062.
 1.9 17-Jul-1999  hubertf The patch below improves the security of the game atc(6), by having it
open the score file at the start and then drop all setgid privileges
while keeping a (close-on-exec) file descriptor open to it. In order
to allow this the static data files have to be made world readable.
In addition a potential buffer overrun with corrupted score files is
avoided by more careful use of scanf (note that SCORE_SCANF_FMT is
defined alongside the definition of the relevant structure).

Submitted in PR 8015 by Joseph Myers <jsm28@cam.ac.uk>
 1.8 10-Nov-1998  hubertf constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk>
 1.7 13-Sep-1998  hubertf Replace special handling of \r by using ICRNL (PR#6078 by Joseph Myers <jsm28@cam.ac.uk>)
 1.6 11-Oct-1997  lukem use warn instead of perror/fprintf/...
 1.5 10-Oct-1997  lukem WARNSify
 1.4 27-Apr-1995  mycroft Use POSIX signal and tty semantics.
 1.3 21-Mar-1995  cgd clean up import
 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 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.17.10.1 23-Mar-2008  matt sync with HEAD
 1.18.6.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.20.12.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.20.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.20.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.20.6.1 30-Oct-2012  yamt sync with head
 1.4 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.3 21-Mar-1995  cgd clean up import
 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 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10 22-Mar-2014  dholland Make the list of place types an enumeration. Use unsigned values for
place numbers.
 1.9 22-Mar-2014  dholland use more suitable types
 1.8 22-Mar-2014  dholland woops, more of previous.
 1.7 22-Mar-2014  dholland Make some things unsigned that should be (why would we need e.g. a
negative number of airports?) and remove some related bogus casts.
 1.6 07-Jun-2006  jnemeth branches: 1.6.42; 1.6.48;
Increase username length to match modern systems, and create #defines for a
couple of lengths.
 1.5 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.4 17-Jul-1999  hubertf The patch below improves the security of the game atc(6), by having it
open the score file at the start and then drop all setgid privileges
while keeping a (close-on-exec) file descriptor open to it. In order
to allow this the static data files have to be made world readable.
In addition a potential buffer overrun with corrupted score files is
avoided by more careful use of scanf (note that SCORE_SCANF_FMT is
defined alongside the definition of the relevant structure).

Submitted in PR 8015 by Joseph Myers <jsm28@cam.ac.uk>
 1.3 21-Mar-1995  cgd clean up import
 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 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.6.48.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.42.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.5 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.4 10-Oct-1997  lukem WARNSify
 1.3 21-Mar-1995  cgd clean up import
 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 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.4 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.3 21-Mar-1995  cgd clean up import
 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 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.28 02-May-2021  rillig games: remove trailing whitespace in *.c and *.h
 1.27 25-Jun-2015  dholland Move game logic out of the file with the curses code.
 1.26 19-Jun-2015  dholland Abolish the foul practice of including every header in existence via a
single central "include.h". Use only headers that are actually needed.
 1.25 22-Mar-2014  dholland Make the list of place types an enumeration. Use unsigned values for
place numbers.
 1.24 22-Mar-2014  dholland use more suitable types
 1.23 22-Mar-2014  dholland Make some things unsigned that should be (why would we need e.g. a
negative number of airports?) and remove some related bogus casts.
 1.22 15-Feb-2011  is branches: 1.22.4; 1.22.10;
Bug fix: in a game with 26 planes, the last one to be allocated wouldn't
be allocated if it was the only eligible one.
From Jonathan David Amery via Debian Bug report 214626.
 1.21 12-Aug-2009  dholland branches: 1.21.2;
sprinkle static
 1.20 26-May-2009  dholland sprintf -> snprintf
 1.19 15-Dec-2007  perry convert __attribute__s to applicable cdefs.h macros
 1.18 24-Nov-2006  wiz branches: 1.18.8;
s/exceded/exceeded/, from Zafer.
 1.17 22-Mar-2006  christos Add missing parens.
 1.16 22-Mar-2006  christos Simplify (Masao Uebayashi)
 1.15 22-Mar-2006  christos Coverity CID 692: Another && that should be ||. Boy...
 1.14 10-Aug-2005  rpaulo Pass lint(1).
 1.13 01-Jul-2005  jmc KNF and WARNS=3 fixes
 1.12 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.11 16-Jan-2001  cgd comment or delete text after CPP directives.
 1.10 25-Jul-1999  hubertf This patch marks unused parameters in atc(6) as such.

Patch submitted in PR 8058 by Joseph Myers <jsm28@cam.ac.uk>
 1.9 24-Jul-1999  hubertf This patch makes atc(6) check for memory allocation failure.

Patch submitted by Joseph Myers <jsm28@cam.ac.uk> in PR 8056,
with small enhancement to make clearer when loser() is called
with NULL.
 1.8 10-Nov-1998  hubertf constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk>
 1.7 11-Sep-1998  hubertf better define PI, plus improve prototype (PR#5867)
 1.6 10-Oct-1997  lukem WARNSify
 1.5 13-Jan-1997  tls bfunctions -> memfunctions
 1.4 27-Apr-1995  mycroft Use POSIX signal and tty semantics.
 1.3 21-Mar-1995  cgd clean up import
 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 21-Mar-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.18.8.1 09-Jan-2008  matt sync with HEAD
 1.21.2.1 17-Feb-2011  bouyer Sync with HEAD
 1.22.10.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.22.4.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2 13-Sep-1998  hubertf remove unused files (PR#6083 by Joseph Myers <jsm28@cam.ac.uk>)
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.1 23-Dec-1994  phil adding 10 more games collected from ???? and some I wrote.
 1.2 23-Dec-1994  phil adding 10 more games collected from ???? and some I wrote.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.1 23-Dec-1994  phil adding 10 more games collected from ???? and some I wrote.
 1.1 23-Dec-1994  phil adding 10 more games collected from ???? and some I wrote.
 1.1 23-Dec-1994  phil adding 10 more games collected from ???? and some I wrote.
 1.1 23-Dec-1994  phil adding 10 more games collected from ???? and some I wrote.
 1.1 23-Dec-1994  phil adding 10 more games collected from ???? and some I wrote.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.1 23-Dec-1994  phil adding 10 more games collected from ???? and some I wrote.
 1.1 23-Dec-1994  phil adding 10 more games collected from ???? and some I wrote.
 1.1 23-Dec-1994  phil adding 10 more games collected from ???? and some I wrote.
 1.1 23-Dec-1994  phil adding 10 more games collected from ???? and some I wrote.

RSS XML Feed