summaryrefslogtreecommitdiffstats
path: root/atc
Commit message (Collapse)AuthorAgeFilesLines
* Generate <>& symbolically. I'm avoiding .../dist/... directories for now.ross2002-02-081-7/+7
|
* Include <time.h> for declarations the Single Unix Specification saysjsm2001-08-291-1/+2
| | | are there but not in <sys/time.h>.
* `existent', not `existant'wiz2001-06-191-3/+3
|
* No argument for .Os.wiz2001-06-051-2/+2
|
* Whitespace and/or punctuation fixes.wiz2001-04-021-66/+66
|
* fix redundant decls and nested externschristos2001-02-052-4/+6
|
* comment or delete text after CPP directives.cgd2001-01-163-9/+9
|
* remove unnecessary command name after .Nmlukem2000-11-071-6/+6
|
* use lowercase with .Nm to match actual command namelukem2000-11-071-2/+2
|
* Correct descriptions of "marked" vs. "ignored" -- they were swapped.jhawk2000-09-231-4/+5
|
* Use setgid(), not setregid().mycroft2000-05-081-3/+3
|
* Fix uses of namespaces reserved by ISO C or POSIX.1.jsm1999-09-301-1/+6
|
* Compare getchar() against EOF, not -1.jsm1999-09-101-3/+3
|
* In atc(6), the function getAChar() has BSD and SYSV variants to dealhubertf1999-07-281-8/+7
| | | | | | | | | | | with variations in EINTR behaviour, but the optimisation of using the BSD version where the SYSV version isn't needed is insignificant. This patch therefore simplifies the code by making there be just one version, a more paranoid (about EOF when errno is already EINTR) version of the SYSV code. Since the BSD/SYSV defines are mainly used to control whether BSD timers are used, this helps where BSD timers but SYSV EINTR handling are wanted. Patch supplied in PR 8091 by Joseph Myers <jsm28@cam.ac.uk>
* Remove empty functin check_adir() and references to it.hubertf1999-07-261-9/+2
|
* This patch marks unused parameters in atc(6) as such.hubertf1999-07-255-28/+28
| | | Patch submitted in PR 8058 by Joseph Myers <jsm28@cam.ac.uk>
* This patch makes atc(6) check for memory allocation failure.hubertf1999-07-242-6/+12
| | | | | Patch submitted by Joseph Myers <jsm28@cam.ac.uk> in PR 8056, with small enhancement to make clearer when loser() is called with NULL.
* Use getopt instead of home grown command line parsing.mjl1999-07-241-44/+30
| | | Patch from Joseph Myers <jsm28@cam.ac.uk> in PR/8062.
* When atc(6) parses its game definition files, the check for `width'hubertf1999-07-211-3/+3
| | | | | | being defined more than once incorrectly checks for `height' having been previously defined instead. Patch submitted in PR 8038 by Joseph Myers <jsm28@cam.ac.uk>
* The patch below improves the security of the game atc(6), by having ithubertf1999-07-176-34/+78
| | | | | | | | | | 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>
* Add two .Els that nroff was complaining to miss.hubertf1999-07-171-1/+3
|
* man page rewritten into -mandoc by dholland@eecs.harvard.edu; from PR7861sommerfeld1999-06-271-350/+237
|
* convert from NOxxx= to MKxxx=no.lukem1999-02-131-2/+4
| | | include <bsd.own.mk> if testing a MKxxx variable.
* constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk>hubertf1998-11-107-93/+96
|
* don't install in /usr/share if NOSHARE is definedlukem1998-09-291-1/+3
|
* mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-131-3/+3
|
* remove unused files (PR#6083 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-132-7/+2
|
* Replace special handling of \r by using ICRNL (PR#6078 by Joseph Myers ↵hubertf1998-09-132-19/+5
| | | | <jsm28@cam.ac.uk>)
* better define PI, plus improve prototype (PR#5867)hubertf1998-09-112-4/+7
|
* 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.
* A collision is adjacency in all, not any of, three dimensions.briggs1998-07-241-2/+2
|
* Log hostname, not OS - PR 5831 by Joseph Myers <jsm28@cam.ac.uk>hubertf1998-07-241-3/+3
|
* y.tab.h is now called grammar.h (and there's an implied .y.h rule now too)tv1998-05-131-4/+2
| | | Noticed by veego.
* .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,tv1998-04-092-6/+6
| | | and use smarter creation of the header file.
* - don't use char as an array indexmrg1998-03-291-16/+16
|
* Simply include -lcurses instead of -lcurses -ltermcapjtc1998-02-181-3/+3
|
* We need a FILESMODE=440 for dm which is now setgid games.veego1997-11-291-2/+2
|
* install games that need it setgid.mrg1997-11-201-1/+2
|
* use CPPFLAGS instead of CFLAGS, fix dependancies for parallel compilelukem1997-10-221-2/+6
|
* use warn instead of perror/fprintf/...lukem1997-10-112-11/+11
|
* XXX: work around lex(1) vs termios lamenesslukem1997-10-101-2/+3
|
* WARNSifylukem1997-10-1013-104/+254
|
* - Makefile cleanupschristos1997-03-241-13/+4
|
* bfunctions -> memfunctionstls1997-01-133-16/+16
|
* Use ${INSTALL}.thorpej1996-10-181-2/+2
|
* Use POSIX signal and tty semantics.mycroft1995-04-276-43/+28
|
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-241-2/+3
| | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
* clean up importcgd1995-03-2118-75/+132
|
* MAN6 => MAN.pk1994-12-251-2/+2
|