summaryrefslogtreecommitdiffstats
path: root/atc
Commit message (Collapse)AuthorAgeFilesLines
...
* Bump date for previous. Remove superfluous .Pp.wiz2004-01-011-3/+2
|
* Document that pressing return allows you to "fast forward" the gamejsm2004-01-011-1/+6
| | | | clock. Patch from Peter Maydell <pmaydell@chiark.greenend.org.uk> in Debian bug 216980.
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-0717-112/+44
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* Rework how dependency generation is performed:lukem2003-08-011-3/+1
| | | | | | | | | | | | | | | | | | | | | | * DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES. This is a change of behaviour. If a Makefile wants the clean semantics it must specifically append to CLEANFILES. Resolves PR toolchain/5204. * To recap: .d (depend) files are generated for all files in SRCS and DPSRCS that have a suffix of: .c .m .s .S .C .cc .cpp .cxx * If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES * Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS} * Deprecate the (short lived) DEPENDSRCS Update the various Makefiles to these new semantics; generally either adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing specific .o dependencies with DPSRCS entries. Tested with "make -j 8 distribution" and "make distribution".
* Use only one of -literal and -unfilled with Bd.wiz2003-06-261-3/+3
|
* Grammar fixes, from jmc@openbsd.wiz2003-04-261-5/+5
|
* .Nm does not need a dummy argument ("") before punctuation orwiz2003-02-251-2/+2
| | | for correct formatting of the SYNOPSIS any longer.
* Lots of minor fixes resulting from reading these man pages in detail.wiz2002-09-261-46/+38
|
* Mdoc nits -- unneeded ".wiz2002-09-261-11/+11
|
* New sentences begin on new lines.wiz2002-09-261-85/+104
| | | Patch from Richard Elz, slightly improved by yours truly.
* 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
|