summaryrefslogtreecommitdiffstats
path: root/atc/input.c
Commit message (Collapse)AuthorAgeFilesLines
* This patch marks unused parameters in atc(6) as such.hubertf1999-07-251-16/+16
| | | 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-3/+2
| | | | | | | | | | 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-26/+26
|
* Replace special handling of \r by using ICRNL (PR#6078 by Joseph Myers ↵hubertf1998-09-131-17/+2
| | | | <jsm28@cam.ac.uk>)
* An airplane on a heading of 315, given instruction to turnbriggs1998-07-281-3/+3
| | | right 45 degrees should turn to direction 0, not circle.
* An airplane on a heading of 270, given instruction to turnbriggs1998-07-281-3/+3
| | | right 90 degrees should turn to direction 0, not circle.
* - don't use char as an array indexmrg1998-03-291-16/+16
|
* WARNSifylukem1997-10-101-9/+36
|
* bfunctions -> memfunctionstls1997-01-131-3/+3
|
* Use POSIX signal and tty semantics.mycroft1995-04-271-6/+5
|
* 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/+663