OpenGrok
Cross Reference: input.c
xref
: /
src
/
games
/
atc
/
input.c
Home
|
History
|
Annotate
|
Download
|
only in
atc
History log of
/src/games/atc/input.c
Revision
Date
Author
Comments
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")
Indexes created Tue Oct 21 19:09:51 GMT 2025