Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove description of -a option and optional log file name, since | dholland | 2009-05-25 | 1 | -8/+10 |
| | | | | | | | neither has done anything in a long long time. Add previously undocumented -s/-f (slow vs. fast) options, although I question the utility thereof and suspect they should just be removed. Bump date (first time since 1993) | ||||
* | sprintf -> snprintf. | dholland | 2009-05-25 | 2 | -7/+9 |
| | |||||
* | "abbreviation" has two Bs. | dholland | 2009-05-25 | 5 | -20/+20 |
| | |||||
* | Use random() instead of rand(), so we get something like random | dholland | 2009-05-25 | 3 | -20/+10 |
| | | | | | | | | | numbers out. This changes the "tournament codes"; that is, the same code will give you a different game now from what it used to. (This is because the codes are basically random seeds.) I really really doubt anyone cares about this, especially since the tournament feature appears to be undocumented. | ||||
* | Remove obviously botched test for "fast mode" based on terminal speed. | dholland | 2009-05-25 | 1 | -8/+5 |
| | | | | | Default to "fast mode" as ~nobody has a 300 baud terminal any more. ("Fast mode" apparently controls whether short-range scans are printed by default at certain times.) | ||||
* | Use getopt to handle the remaining (all currently undocumented) options. | dholland | 2009-05-25 | 1 | -15/+14 |
| | |||||
* | Remove last traces of undocumented -p option (apparently related to | dholland | 2009-05-25 | 1 | -19/+2 |
| | | | | process priority) and documented -a option, neither of which have done anything since CSRG days. | ||||
* | Don't give special privileges to uid 13107. | dholland | 2009-05-25 | 1 | -9/+2 |
| | |||||
* | __attribute__((__noreturn__)) -> __dead | dholland | 2009-05-25 | 1 | -5/+5 |
| | |||||
* | Null for pointers, not 0. | dholland | 2009-05-25 | 1 | -3/+4 |
| | |||||
* | Fix score printing so columns line up. | dholland | 2009-05-25 | 1 | -26/+37 |
| | |||||
* | Abolish cgetc(). It contained one line of code, which was wrong. | dholland | 2009-05-24 | 6 | -77/+35 |
| | | | | Call getchar() directly, and handle EOF properly instead of looping (in some cases) or pretending that EOF is 0 (which it isn't). | ||||
* | Remove unnecessary initialization that silenced a compiler warning in 1997. | dholland | 2009-05-24 | 1 | -3/+3 |
| | |||||
* | Sprinkle some blank lines for readability. | dholland | 2009-05-24 | 1 | -2/+15 |
| | |||||
* | Split up lines > 80 chars. Object files unchanged. | dholland | 2009-05-24 | 27 | -166/+280 |
| | |||||
* | Don't use literal ^G's in string constants. Use \a. | dholland | 2009-05-24 | 2 | -7/+7 |
| | |||||
* | KNF: brace and comment placement. Object files identical. | dholland | 2009-05-24 | 43 | -734/+440 |
| | |||||
* | whitespace | dholland | 2009-05-24 | 1 | -6/+7 |
| | |||||
* | KNF: fix formatting of preprocessor directives | dholland | 2009-05-24 | 12 | -133/+133 |
| | |||||
* | ANSIfy function declarations. No object file diffs except for two functions | dholland | 2009-05-24 | 46 | -251/+187 |
| | | | | whose K&R declaration didn't fully match the prototype (char vs. int) and the diff of the disassembly of those looks plausible. | ||||
* | KNF. No change to .o file. | dholland | 2009-05-24 | 1 | -7/+7 |
| | |||||
* | Avoid hardcoded "too large" constant that caused FPE on the vax. | christos | 2009-03-31 | 5 | -13/+19 |
| | | | XXX: Should pullup to 5.0 | ||||
* | PR/39923: Valery Ushakov: trek(6) can spin, consuming 100% CPU on powerpc | christos | 2008-11-14 | 1 | -3/+6 |
| | | | | On systems where char is unsigned the number of black holes can end up being very large (instead of negative). | ||||
* | Remove the \n and tabs from the __COPYRIGHT() strings. | lukem | 2008-07-20 | 1 | -4/+4 |
| | |||||
* | Make the default WARNS for games 4. The only game that needs to set WARNS | dholland | 2008-01-28 | 1 | -2/+1 |
| | | | to anything else now is rogue, so clear WARNS from the other makefiles. | ||||
* | Build with WARNS=4. | dholland | 2008-01-28 | 2 | -7/+8 |
| | |||||
* | convert __attribute__s to applicable cdefs.h macros | perry | 2007-12-15 | 17 | -52/+52 |
| | |||||
* | Coverity CID 1197: Don't pass -1 to close. | christos | 2006-03-19 | 1 | -3/+4 |
| | |||||
* | Coverity CID 1467: Elide static buffer overflow. | christos | 2006-03-19 | 1 | -3/+3 |
| | |||||
* | Use standard AUTHORS section header. From YOMURA Masanori in private mail | wiz | 2005-09-15 | 1 | -3/+3 |
| | | | Sort sections if necessary. Use more/better markup. | ||||
* | Avoid arrays of incomplete types (required to build with GCC 4). | jsm | 2005-02-15 | 2 | -5/+5 |
| | | | Reviewed by <hubertf>. | ||||
* | Remove uses of __P. | jsm | 2004-01-27 | 8 | -90/+90 |
| | |||||
* | Various typo fixes from Jonathon Gray via jmc@openbsd. | wiz | 2003-11-17 | 1 | -2/+2 |
| | |||||
* | Move UCB-licensed code from 4-clause to 3-clause licence. | agc | 2003-08-07 | 53 | -367/+155 |
| | | | Patches provided by Joel Baker in PR 22269, verified by myself. | ||||
* | Rename a large chunk of the make(1) variables which refer to a | lukem | 2003-07-10 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | program/tool from "FOO" to "TOOL_FOO". The new variables are: TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC For each, provide default in <bsd.sys.mk> of the form: TOOL_FOO?= foo and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override: TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo Document all of these in bsd.README. This cleans up a chunk of potential (and actual) namespace collision within our build infrastructure, as well as improves consistency in the share/mk documentation and provision of appropriate defaults for each of these variables. | ||||
* | Add ${MACROS} to ${ROFF} usage to make output readable | pooka | 2003-01-05 | 1 | -2/+2 |
| | | | from jbernard@mines.edu in misc/19685 | ||||
* | avoid buffer overrun. fix from openbsd. | itojun | 2002-10-18 | 1 | -3/+3 |
| | | | reported by Niels Heinen <niels.heinen@ubizen.com> | ||||
* | Lots of minor fixes resulting from reading these man pages in detail. | wiz | 2002-09-26 | 1 | -3/+3 |
| | |||||
* | New sentences begin on new lines. | wiz | 2002-09-26 | 1 | -2/+3 |
| | | | Patch from Richard Elz, slightly improved by yours truly. | ||||
* | sweep of errx/warnx, remove unnecessary trailing \n | grant | 2002-07-20 | 1 | -3/+3 |
| | |||||
* | Correct spelling of "delimiter", and remove from ignored-errors lists. | wiz | 2002-02-26 | 1 | -3/+3 |
| | |||||
* | seperate -> separate | wiz | 2001-07-22 | 2 | -5/+5 |
| | |||||
* | receive, not recieve | wiz | 2001-06-12 | 2 | -5/+5 |
| | |||||
* | Spell occurred correctly. | simonb | 2001-04-25 | 1 | -3/+3 |
| | |||||
* | Whitespace and/or punctuation fixes. | wiz | 2001-04-02 | 1 | -7/+7 |
| | |||||
* | fix redundant decls and nested externs | christos | 2001-02-05 | 4 | -14/+14 |
| | |||||
* | printf() pedant - do not pass variable alone, use %s. | itojun | 2000-07-10 | 1 | -4/+4 |
| | | | idea from openbsd. after looking at freebsd commit msgs from kris@freebsd. | ||||
* | More include additions for exit, abs, strcmp, etc. | matt | 2000-07-03 | 5 | -10/+15 |
| | |||||
* | Use setgid(), not setregid(). | mycroft | 2000-05-08 | 1 | -3/+3 |
| | |||||
* | Fix .Nm usage. | enami | 2000-03-02 | 1 | -2/+2 |
| |