Commit Graph

36 Commits

Author SHA1 Message Date
wiz c91d8d6b9b Lots of minor fixes resulting from reading these man pages in detail. 2002-09-26 18:31:58 +00:00
wiz 0d22e30cd0 New sentences begin on new lines.
Patch from Richard Elz, slightly improved by yours truly.
2002-09-26 16:12:39 +00:00
mycroft 227330d532 Slight redux. 2002-09-19 21:26:56 +00:00
mycroft 4d0e87d7bb select() -> poll(), nanosleep() 2002-09-19 03:15:43 +00:00
wiz d41deffb56 mdoc'ify, and clean up in the process. 2001-04-02 22:46:18 +00:00
christos f06735e877 fix nested extern 2001-02-05 00:27:35 +00:00
mycroft f9eca6973d Use setgid(), not setregid(). 2000-05-08 07:55:59 +00:00
soren 1594850f00 Fix doubled 'the' in comment. 2000-03-13 22:46:59 +00:00
jsm 54abf681cb Add alternative style for commands at end of game (#ifdef NEW_STYLE). 1999-09-19 09:42:38 +00:00
jsm 20e3305006 Fix -Wsign-compare warnings. 1999-09-18 19:38:46 +00:00
jsm ba40c8d63d Fix some uses of NULL as non-pointer and 0 for null pointer. 1999-09-17 17:07:11 +00:00
jsm 2b25de3a90 Include <time.h> in various places in the games where time() or time_t
are used.
1999-09-09 17:30:17 +00:00
jsm b03d4fa882 Add `__noreturn__' and `__unused__' attributes where appropriate to
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).
1999-09-08 21:45:25 +00:00
jsm 092d313019 Add use of `const' where appropriate to 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).

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.
1999-09-08 21:17:44 +00:00
hubertf 7287839679 Drop setgid privs early. Via OpenBSD, reported in PR 5970 by
Joseph Myers <jsm28@cam.ac.uk>
1999-07-21 04:02:29 +00:00
hubertf c1f52f97cd From PR 7988 by Joseph Myers <jsm28@cam.ac.uk>: use the symbolic
name SEEK_SET for values which end up as the third argument of
fseek(), rather than a hard-coded 0.
1999-07-14 17:23:53 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
lukem b569ddabe9 don't install in /usr/share if NOSHARE is defined 1998-09-29 07:33:20 +00:00
hubertf 1c9494f62b mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:27:25 +00:00
veego 04afeca685 Add braces to make the new egcs happy. 1998-08-30 09:19:36 +00:00
jtc 2065ddb3da Simply include -lcurses instead of -lcurses -ltermcap 1998-02-18 22:37:30 +00:00
christos cb47578732 Use -ltermcap instead of -ltermlib 1998-02-05 12:15:51 +00:00
cjs 3b88f2c450 time_t != long; cast it. 1997-10-13 21:09:59 +00:00
lukem 04f410d254 minor KNFify 1997-10-11 02:12:11 +00:00
lukem 27bf0524e7 WARNSify 1997-10-10 12:04:23 +00:00
christos d59123b39b - Makefile cleanups 1997-03-24 22:15:37 +00:00
tls 34cd8f5bdf Sync to 4.4BSD-Lite2 1997-01-07 11:56:32 +00:00
thorpej 871c9c08af Use ${INSTALL}. 1996-10-18 02:37:51 +00:00
mycroft 3e4b008cce Use tcflush(). 1995-04-28 22:28:48 +00:00
mycroft 200f85f63e Use POSIX signal and tty semantics. 1995-04-27 22:06:04 +00:00
cgd c4816c32b3 Various changes to make games compile w/o warnings on the alpha:
Include appropriate includes, delete bogus function declarations,
change sizes of variables and casts.
1995-04-24 12:21:37 +00:00
cgd d4f96eeaff add/fix id tags 1995-03-21 12:14:18 +00:00
phil a3618b36c8 make the code agree with documentation and usage() for final two
options.
1994-12-29 08:00:17 +00:00
phil 4bfca330da Don't try to process args if they aren't there. 1994-12-29 07:35:05 +00:00
cgd c4c01d75b2 specify man pages the new way. 1994-12-22 09:31:26 +00:00
jtc 86ef266907 boggle(6), from 44lite 1994-10-21 20:52:51 +00:00