summaryrefslogtreecommitdiffstats
path: root/atc
Commit message (Collapse)AuthorAgeFilesLines
* Add missing parens.christos2006-03-221-4/+4
|
* Simplify (Masao Uebayashi)christos2006-03-221-6/+6
|
* Coverity CID 692: Another && that should be ||. Boy...christos2006-03-221-3/+3
|
* Coverity CID 1786: Close file.christos2006-03-181-2/+3
|
* Use standard AUTHORS section header. From YOMURA Masanori in private mailwiz2005-09-151-2/+2
| | | Sort sections if necessary. Use more/better markup.
* Added a missing '-' in score list output.rpaulo2005-08-101-3/+3
|
* Pass lint(1).rpaulo2005-08-107-248/+271
|
* Enable WARNS=3.rpaulo2005-08-101-1/+2
|
* Fixed an output bug where a new-line was added due the usage of puts(3).rpaulo2005-08-101-4/+4
|
* KNF and WARNS=3 fixesjmc2005-07-019-244/+185
|
* Cast last argument of execl to (char *).jsm2005-02-151-4/+4
| | | Reviewed by <hubertf>.
* Replaced strncpy with strlcpy. Thanks to Peter Postma whojrf2004-09-071-4/+3
| | | pointed them our in PR #25762. Approved by christos@NetBSD.org.
* Remove uses of __P.jsm2004-01-272-81/+81
|
* 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
|