OpenGrok
Cross Reference: main.c
xref
: /
src
/
games
/
atc
/
main.c
Home
|
History
|
Annotate
|
Download
|
only in
atc
History log of
/src/games/atc/main.c
Revision
Date
Author
Comments
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
Indexes created Wed Oct 22 06:10:02 GMT 2025