summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* From PR 7985 by Joseph Myers <jsm28@cam.ac.uk>:hubertf1999-07-141-2/+5
| | | | | games/adventure/setup.c fails to check for errors when writing its output. This means that, if the disk fills up at this point during a build, it would nevertheless fail to return an error status.
* man page rewritten into -mandoc by dholland@eecs.harvard.edu; from PR7861sommerfeld1999-06-271-350/+237
|
* Fixi uninit vars warnings.christos1999-05-161-3/+3
|
* Add missing prototypeschristos1999-05-163-8/+20
|
* Add -A for automatic playing mode.christos1999-05-1510-62/+531
| | | Make the score file MI
* Fix Y2K buffer overflow (from OpenBSD).kristerw1999-04-251-8/+4
|
* Buffer overflow fix (from OpenBSD)kristerw1999-04-241-3/+3
|
* initscr() returns a pointer, compare return value with NULL and notsimonb1999-04-182-6/+6
| | | | an int. Compatible with other versions of curses.
* Don't frob the interals of a WINDOW*, use the mvinch() macro.simonb1999-04-181-7/+3
|
* 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).
* s/SETUIDGAME/SETGIDGAME/ - catch up with the rest of the world.abs1999-04-051-2/+2
|
* defined(attron) does not mean there is a <term.h>mrg1999-03-294-23/+8
|
* Fix object recognition, per PR 6048 by Joseph S. Myers <jsm28@cam.ac.uk>.hubertf1999-03-251-2/+32
|
* More and more .Os cleanups. .Os is defined in the tmac.doc-common file,garbled1999-03-226-12/+12
| | | | so we shouldn't override it with versions in the manpages. Many more to come.
* Newline and usage cosmetics from Soren S. Jorvang <soren@t.dk> PR7205abs1999-03-221-4/+4
|
* set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>lukem1999-03-131-2/+3
|
* Fix .Bl/.El imbalance.erh1999-03-104-4/+8
|
* remove NOPROG (nothing uses it). however, set MKOBJ=no if appropriatelukem1999-02-131-6/+4
|
* convert from NOxxx= to MKxxx=no.lukem1999-02-1321-43/+61
| | | include <bsd.own.mk> if testing a MKxxx variable.
* Remove unneeded "mips compiler bug" workaround from original code importedsimonb1999-02-111-5/+1
| | | in 1994.
* tgetent() handles const correctly in currenthubertf1999-02-101-3/+3
|
* Add __attribute__() to a variable. From PR 6557, after discussion withhubertf1999-02-101-3/+3
| | | Joseph S. Myers <jsm28@cam.ac.uk>
* The patch below makes the game backgammon(6) use `const' wherehubertf1999-02-1016-195/+162
| | | | | | | | | | | | | | appropriate. It also removes some obsolete, unused code to check the number of users on the system (obsoleted by dm); removes a prototype for an unused function that was removed earlier; and removes a control character from one message that was I think intended to clear the screen on some particular terminal (though I can't find the comment to that effect in any of the BSD source trees I have handy) but no longer serves any useful purpose. From PR 6580 by Joseph Myers <jsm28@cam.ac.uk>. Also contains two more patches, one in teachgammon/tutor.h (by Joseph) and one in common_source/fancy.c (by me).
* Only invoke pager given in $PAGER if output goes to a tty, feed pagerhubertf1999-02-101-9/+28
| | | via stdin, per PR 6699 by Joseph Myers <jsm28@cam.ac.uk>
* Const poisoning, per PR 6660 by Joseph Myers <jsm28@cam.ac.uk>hubertf1999-02-1012-69/+69
|
* The game sail(6) has a function Write() which is used both withhubertf1999-02-1016-123/+141
| | | | | | | | | | | | integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability. The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun. Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
* The patch below does some minor cleanup of adventure(6): an additionalhubertf1999-02-103-12/+15
| | | | | | | | | | | use of const I missed in bin/6041; avoiding a signed/unsigned warning; marking an unused parameter as such; revoking setgid privileges (including the saved gid) rather than setuid ones; includes and function prototypes in setup.c; the string passed to err() should not end with a `.'. Together with the patch sent concerning adventure's EOF handling, this synchronises adventure(6) in NetBSD with the Linux port of the NetBSD games. Via PR 6557 by Joseph Myers <jsm28@cam.ac.uk>
* The game adventure(6) handles EOF on standard input ratherhubertf1999-02-103-16/+30
| | | | | | ungracefully. The patch, derived from OpenBSD, improves this handling. Sent in in PR 6556 by Joseph Myers <jsm28@cam.ac.uk>.
* only show preview if the -p option is givenhubertf1999-01-034-16/+16
|
* document morse's decode option -dhubertf1999-01-031-2/+2
|
* Add previewing of next shape. Old (previous) behaviour can behubertf1999-01-036-27/+62
| | | restored by compiling with NO_PREVIEW defined.
* Remove obsolete header file. Fixes PR bin/6700 by Joseph S. Myers.tron1999-01-021-56/+0
|
* tweaks to pass DESTDIR to subprograms when it is defined in /etc/mk.confdbj1998-12-062-4/+6
| | | but is not in the environment.
* typo.pk1998-12-051-1/+1
|
* Fix spelling of `Churchill' in 3 placesjwise1998-11-202-3/+3
|
* Add support for decoding of morse code.hubertf1998-11-182-16/+115
|
* fix usagehubertf1998-11-181-3/+3
|
* constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk>hubertf1998-11-107-93/+96
|
* constify, per PR 6148hubertf1998-11-1020-176/+181
|
* make objdir-awarehubertf1998-11-091-5/+5
|
* don't install in /usr/share if NOSHARE is definedlukem1998-09-2910-13/+34
|
* Fix args processing of backgammon and teachgammon, closes pr 5345 byfrueauf1998-09-153-9/+9
| | | David Brownlee.
* constify (PR#6151, once more by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-141-4/+4
|
* return error on errors (PR#6147 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-144-31/+21
|
* constify, as per PR#6136 by Joseph Myers <jsm28@cam.ac.uk>hubertf1998-09-141-6/+6
|
* remove x bit from save files (PR#6077)hubertf1998-09-131-3/+3
|
* Remove unused function and mark non-returning ones(PR#6076, #6144 by Joseph ↵hubertf1998-09-131-3/+2
| | | | Myers <jsm28@cam.ac.uk>)
* mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-1329-89/+89
|
* fix bug w/ negative numbers, mark non-returning functions (PR#6142+6144 by ↵hubertf1998-09-131-3/+4
| | | | Joseph Myers <jsm28@cam.ac.uk>)
* add sanity checks when saving/restoring games (PR#6138 by Joseph Myers ↵hubertf1998-09-131-4/+10
| | | | <jsm28@cam.ac.uk>)