summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fix handling of '-t' flag, and pause for a little bit after drawing happysnakecgd1999-10-261-2/+5
|
* correct description of representation of snakecgd1999-10-261-2/+2
|
* support arrow keys.cgd1999-10-262-16/+43
|
* update after change to return value of tputs() third argumentlukem1999-10-049-25/+27
|
* Fix error in last namespace change (only relevant #ifdef DEBUG).jsm1999-10-011-3/+3
|
* Add more files to FILES section of cribbage.6.jsm1999-10-011-2/+4
|
* Fix uses of namespaces reserved by ISO C or POSIX.1.jsm1999-09-3018-71/+94
|
* Use macro NAMLEN rather than dirent->d_namlen, for easier portability.jsm1999-09-221-4/+8
|
* Use the function usage().jsm1999-09-221-4/+3
|
* Don't include terminal . in argument of err().jsm1999-09-221-3/+3
|
* Don't include <nlist.h>.jsm1999-09-221-3/+2
|
* Remove generated file "limerick-o" in "clean" target.tron1999-09-211-2/+2
|
* Cleanup and warning fixes for phantasia/setup.c.jsm1999-09-191-4/+17
|
* Allow dm to ban games playing 11pm-midnight.jsm1999-09-191-7/+11
| | | From OpenBSD.
* Define variables as BOOLEAN, not bool, where the extern declarationsjsm1999-09-191-6/+6
| | | already use BOOLEAN.
* Further warning fix for mkdict.jsm1999-09-191-6/+4
|
* Add alternative style for commands at end of game (#ifdef NEW_STYLE).jsm1999-09-191-2/+21
|
* Warning cleanup for boggle's mkdict and mkindex.jsm1999-09-182-11/+15
|
* Fix -Wsign-compare warnings.jsm1999-09-1817-56/+58
|
* Use strncpy() rather than strcpy() with fixed size buffer.jsm1999-09-181-3/+3
|
* Add missing initialisers.jsm1999-09-182-6/+6
|
* Add FALLTHROUGH comment.jsm1999-09-181-2/+3
|
* Give sensible error message in a shouldn't happen case.jsm1999-09-181-3/+3
|
* Make word list for hangman selectable at run time.jsm1999-09-175-12/+40
|
* Convert tetris to use <err.h> functions.jsm1999-09-171-15/+8
|
* Fix some uses of NULL as non-pointer and 0 for null pointer.jsm1999-09-174-12/+13
|
* Use `extern' for header variable declarations in trek(6).jsm1999-09-172-26/+44
|
* Change quiz `pres' data file to include vice-presidents, and fix somejsm1999-09-142-43/+81
| | | | | minor errors. From OpenBSD.
* Update pom to the third edition of Duffett-Smith's book, and clean itjsm1999-09-142-57/+155
| | | | | | | up somewhat. Change time specification format to similar to that used by date(1) - taking a command line argument in seconds since the Epoch is silly. Date parsing based on code from date(1). Based on work by Paul Janzen for OpenBSD.
* Declare variables in extern.h as extern, and add non-externjsm1999-09-142-42/+78
| | | declarations to globals.c.
* Use time() instead of gettimeofday().jsm1999-09-142-10/+7
|
* Convert snake to use curses, and generally clean it up somewhat.jsm1999-09-145-1009/+213
| | | Includes bugfixes from or inspired by OpenBSD.
* Make cribbage use the POSIX.2 pager behaviour.jsm1999-09-131-15/+27
|
* Fix buffer overrun in rogue.jsm1999-09-131-6/+14
|
* Fix uses of names of library functions for other purposes.jsm1999-09-135-18/+18
|
* A couple more checks for file descriptor < 3 missed earlier.jsm1999-09-132-3/+7
|
* Remove rogue's old and bit-rotten cut-down version of curses.jsm1999-09-134-835/+8
|
* Split limericks into "normal" and "offensive" ones.hwr1999-09-124-71/+53
| | | Fixes PR 6202 by Matthias Grutzeck <grut@teco.edu>.
* These fortunes conatain offensive language.hwr1999-09-122-0/+387
| | | | These were originally unamerican.{fake,real} Part of the work on PR 6202.
* Moved to unamerican.real-ohwr1999-09-121-385/+0
|
* Moved to unamerican.fake-ohwr1999-09-121-2/+0
|
* Security improvements for games (largely from or inspired by OpenBSD).jsm1999-09-1226-75/+216
| | | | | | | | | | | | | | | 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.
* Use STD*_FILENO.kleink1999-09-101-4/+4
|
* Check for write errors in auxiliary programs used during build of games.jsm1999-09-104-12/+24
|
* Compare getchar() against EOF, not -1.jsm1999-09-101-3/+3
|
* Fix glitch in const changes (bin/8365 from John.P.Darrow@wheaton.edu).jsm1999-09-101-2/+2
|
* Include <time.h> in various places in the games where time() or time_tjsm1999-09-099-18/+29
| | | are used.
* Check for failure of malloc() and calloc() at various places in the games.jsm1999-09-099-20/+51
|
* Remove extra blank line in copyright.simonb1999-09-091-2/+1
|
* Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate injsm1999-09-0815-72/+72
| | | the games.