summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Change __GCC__ to __GNUC__.jsm2000-01-131-3/+3
|
* Remove obsolete NO_VOID conditional.jsm2000-01-131-6/+2
|
* Use err(1, NULL) and warn(NULL) for `out of memory' error messages.jsm2000-01-096-25/+25
|
* Declare variables as extern in headers rather than using linker commons.jsm2000-01-013-13/+26
|
* Don't use <err.h>. Use ANSI prototypes (no dependance on the __P()simonb1999-12-302-33/+62
| | | | | | | | | | | | | macro). Add new fwrite_be_offt() function which writes out a big-endian 64bit number regards of the size of off_t on the host machine. Also fix ``bug'' in previous - even though the off_t pointers were stored big-endian, the individual card lenghs were in host-order. The cards.pck files are now identical when make on a big- or little-endian machine. Now builds a correct cards.pck file on non-NetBSD machines as well - tested on Ultrix and Solaris (but Solaris needs -lsocket to get htonl()).
* Don't use any NetBSD specific features (<err.h> and friends mainlysimonb1999-12-301-51/+82
| | | | | | | | | | - replaiced with local die() and dieperror() routines). Use ANSI prototypes (no dependance on the __P() macro). Add new fwrite_be_offt() function which writes out a big-endian 64bit number regards of the size of off_t on the host machine. Remove unused unctrl() function. Now builds correct fortune .dat files on non-NetBSD machines as well - tested on Ultrix and Solaris (but Solaris needs -lsocket to get htonl()).
* No need to include <sys/endian.h> here - <sys/types.h> includessimonb1999-12-301-2/+1
| | | <machine/endian.h> which DTRT.
* Use separate definitions and extern declarations of variables ratherjsm1999-12-284-45/+82
| | | than linker commons.
* Fix capital of Monaco. It should be Monaco rather than Monte Carlo;jsm1999-12-161-1/+1
| | | | | checked with CIA World Factbook. Problem reported by <capo@writeme.com>.
* Make quiz use POSIX.2 pager handling.jsm1999-12-161-4/+11
|
* Print a space character on the tape between each command line argument.jsm1999-12-161-3/+6
| | | Bug fix from OpenBSD.
* Removed someone's personal phone number, including area code, from a "if youmason1999-12-111-2/+0
| | | want a good time, call ###-###-####" fortune entry.
* Fix a gcc -W warning (empty body in an else-statement).jsm1999-12-071-9/+4
|
* If the dictionary for boggle does not include words beginning withjsm1999-12-071-3/+13
| | | | | every letter, add appropriate index lines. Problem reported by Mike Castle <dalgoda@ix.netcom.com> against the Linux port of the NetBSD games collection.
* Correct wargames quote, and while we are here be a little more selectiveabs1999-11-161-2/+5
| | | when checking if a game is valid (eg: '../../bin/csh')
* Do not match non-literals (REs).hubertf1999-11-151-3/+3
| | | | A slightly different patch was submitted in PR 8388 by Antti Kantee <pooka@iki.fi>
* Since our gcc doesn't warn about NULL format strings anymore, we candrochner1999-11-092-8/+8
| | | | fix the incorrect err(1, "%s", "") et al. Closes PR bin/7592 by cgd.
* 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
|