summaryrefslogtreecommitdiffstats
path: root/atc/log.c
Commit message (Collapse)AuthorAgeFilesLines
* games: remove trailing whitespace in *.c and *.hrillig2021-05-051-10/+10
|
* Report the users score _after_ the game has ended and the screen haspgoyette2019-03-191-2/+8
| | | | | | 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!
* ned stat.hchristos2017-01-101-2/+3
|
* Abolish the foul practice of including every header in existence via adholland2015-06-191-3/+16
| | | single central "include.h". Use only headers that are actually needed.
* sprinkle staticdholland2009-08-121-4/+4
|
* sprintf -> snprintfdholland2009-05-261-6/+7
|
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-151-3/+3
|
* Don't follow symlinks on systems that have O_NOFOLLOW.jnemeth2006-06-071-5/+9
| | | | Don't bother looping with lockf() since first iteration would return. Prevent two buffer overflows.
* Added a missing '-' in score list output.rpaulo2005-08-101-3/+3
|
* Pass lint(1).rpaulo2005-08-101-45/+49
|
* Fixed an output bug where a new-line was added due the usage of puts(3).rpaulo2005-08-101-4/+4
|
* KNF and WARNS=3 fixesjmc2005-07-011-18/+16
|
* Replaced strncpy with strlcpy. Thanks to Peter Postma whojrf2004-09-071-4/+3
| | | pointed them our in PR #25762. Approved by christos@NetBSD.org.
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-7/+3
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* comment or delete text after CPP directives.cgd2001-01-161-3/+3
|
* This patch marks unused parameters in atc(6) as such.hubertf1999-07-251-3/+3
| | | Patch submitted in PR 8058 by Joseph Myers <jsm28@cam.ac.uk>
* The patch below improves the security of the game atc(6), by having ithubertf1999-07-171-25/+63
| | | | | | | | | | 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>
* constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk>hubertf1998-11-101-6/+6
|
* Log hostname, not OS - PR 5831 by Joseph Myers <jsm28@cam.ac.uk>hubertf1998-07-241-3/+3
|
* use warn instead of perror/fprintf/...lukem1997-10-111-5/+5
|
* WARNSifylukem1997-10-101-19/+27
|
* bfunctions -> memfunctionstls1997-01-131-9/+9
|
* clean up importcgd1995-03-211-4/+9
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+247