Home | History | Annotate | Download | only in atc
History log of /src/games/atc/log.c
RevisionDateAuthorComments
 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

RSS XML Feed