summaryrefslogtreecommitdiffstats
path: root/trek
Commit message (Collapse)AuthorAgeFilesLines
* Avoid arrays of incomplete types (required to build with GCC 4).jsm2005-02-152-5/+5
| | | Reviewed by <hubertf>.
* Remove uses of __P.jsm2004-01-278-90/+90
|
* Various typo fixes from Jonathon Gray via jmc@openbsd.wiz2003-11-171-2/+2
|
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-0753-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 alukem2003-07-101-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 readablepooka2003-01-051-2/+2
| | | from jbernard@mines.edu in misc/19685
* avoid buffer overrun. fix from openbsd.itojun2002-10-181-3/+3
| | | reported by Niels Heinen <niels.heinen@ubizen.com>
* Lots of minor fixes resulting from reading these man pages in detail.wiz2002-09-261-3/+3
|
* New sentences begin on new lines.wiz2002-09-261-2/+3
| | | Patch from Richard Elz, slightly improved by yours truly.
* sweep of errx/warnx, remove unnecessary trailing \ngrant2002-07-201-3/+3
|
* Correct spelling of "delimiter", and remove from ignored-errors lists.wiz2002-02-261-3/+3
|
* seperate -> separatewiz2001-07-222-5/+5
|
* receive, not recievewiz2001-06-122-5/+5
|
* Spell occurred correctly.simonb2001-04-251-3/+3
|
* Whitespace and/or punctuation fixes.wiz2001-04-021-7/+7
|
* fix redundant decls and nested externschristos2001-02-054-14/+14
|
* printf() pedant - do not pass variable alone, use %s.itojun2000-07-101-4/+4
| | | idea from openbsd. after looking at freebsd commit msgs from kris@freebsd.
* More include additions for exit, abs, strcmp, etc.matt2000-07-035-10/+15
|
* Use setgid(), not setregid().mycroft2000-05-081-3/+3
|
* Fix .Nm usage.enami2000-03-021-2/+2
|
* Fix wrong reference to trek documentationhubertf2000-03-011-2/+2
| | | Submitted in PR bin/9514 by Thilo.Manske@HEH.Uni-Oldenburg.DE
* Fix -Wsign-compare warnings.jsm1999-09-181-3/+4
|
* Use `extern' for header variable declarations in trek(6).jsm1999-09-172-26/+44
|
* Security improvements for games (largely from or inspired by OpenBSD).jsm1999-09-121-2/+5
| | | | | | | | | | | | | | | Games which run setgid from dm, but don't need to, should drop their privileges at startup. Games which have a scorefile should open it at startup, then drop all privileges leaving just the open writable file descriptor. If the game can invoke subprocesses, this should be made close-on-exec. Games with scorefiles should make sure they do not get a file descriptor < 3. (Otherwise, they could get confused and corrupt the scorefile when using stdin, stdout or stderr.) Some old setuid revokes from the days of setuid games change into gid revokes.
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-0818-57/+57
| | | | | | | | | | | | the games. This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Most noreturn attributes were previously added in bin/6144, with some others that were missed then in bin/8082. Previous `unused' attributes were covered in bin/6557, bin/8058 and other PRs (all these PRs have already been handled and closed).
* Add use of `const' where appropriate to the games.jsm1999-09-081-3/+3
| | | | | | | | | This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
* const poisoninghubertf1999-07-2116-80/+80
| | | Patch submitted in PR 8039 by Joseph Myers <jsm28@cam.ac.uk>
* change:cgd1999-04-061-2/+2
| | | | | | | | .Sh "SEE ALSO" to: .Sh SEE ALSO The doc macros check for the latter (actually just for 'SEE' as the first argument to .Sh) to set the section header SEE ALSO flag, which modifies some behaviour (e.g. references done with .Rs/.Re).
* remove unused files (PR#6083 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-131-61/+0
|
* fix prototype, PR#5867hubertf1998-09-111-2/+3
|
* use symbolic constant for open(), PR#5867hubertf1998-09-111-3/+3
|
* Add braces to make the new egcs happy.veego1998-08-304-21/+21
|
* Include string.h.cjs1997-10-132-4/+6
|
* time_t != long, again. *Sigh*.cjs1997-10-131-3/+6
|
* Since we've got an int to store the value, why store it in a functioncjs1997-10-131-4/+4
| | | pointer and cast it?
* Include string.h for memcpy().cjs1997-10-131-2/+3
|
* Warnsify and remove local implementations of libc functions.christos1997-10-1253-756/+1039
|
* enable WARNS?=1 by default, & temporarily disable for the few unclean programslukem1997-10-121-1/+2
|
* Use bsd.subdir.mk as appropriate.mycroft1997-10-111-2/+3
|
* Make these compile on the PowerPC (an unsigned char system).thorpej1997-03-291-3/+3
|
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-246-19/+19
| | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
* clean up import, NetBSD RCS IDs, etc.cgd1995-04-2259-218/+482
|
* src/games/trek from Litecgd1995-04-223-0/+1049
|
* specify man pages the new way.cgd1994-12-221-2/+2
|
* Converted from sgtty to termios api, no longer needs libcompat.jtc1994-05-242-8/+10
|
* need -lcompatcgd1994-05-231-3/+3
|
* Converted to -mandoc macros.jtc1993-08-051-46/+96
|
* Add RCS identifiers.mycroft1993-08-0152-52/+104
|
* Add RCS indentifiers.mycroft1993-08-011-1/+2
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|