Commit Graph

31 Commits

Author SHA1 Message Date
rillig
5abe8eb023 Raised WARNS to 4. 2005-05-23 23:08:06 +00:00
rillig
8a7b93ff10 * fixed <ctype> bugs
* removed ASCII dependency
* added input data validation
* added bounds checking
* added error checking
* handle short reads (from pipes or sockets) correctly
  when trying to decode an encoded stream
* added lint(1) directives
2005-05-23 23:02:30 +00:00
atatat
1d1f5d461b Don't assume /usr/games; use the same path as what rot13 was found at
to run caesar.
2005-04-09 02:02:15 +00:00
jsm
cb5fd8342e Remove uses of __P. 2004-01-27 20:30:28 +00:00
jsm
503605fee2 Make dot and winnerdot of type double. Patch from Jan Vornberger
<jan@uos.de> in Debian bug 197816.
2004-01-01 16:00:34 +00:00
agc
e5aeb4ea46 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
2003-08-07 09:36:50 +00:00
wiz
c91d8d6b9b Lots of minor fixes resulting from reading these man pages in detail. 2002-09-26 18:31:58 +00:00
wiz
875690e96c Ispell. 2002-09-26 16:29:25 +00:00
mycroft
f9eca6973d Use setgid(), not setregid(). 2000-05-08 07:55:59 +00:00
simonb
47bb19e7b2 While everyone's beating up on rot13 - use 'exec' to loose the shell
process.
2000-04-24 15:42:40 +00:00
perry
29e1592111 $* -> "$@", not that it does anything. yet. 2000-04-24 15:37:32 +00:00
perry
bd513ae4a9 keep it simple. 2000-04-24 15:30:34 +00:00
hubertf
6afb31ba03 Don't rely upon /usr/games being in PATH, include it explicitly.
Fixes PR 9968 by yyrkoo@imrryr.org.
2000-04-24 13:21:26 +00:00
jsm
a5da40c55a Use err(1, NULL) and warn(NULL) for `out of memory' error messages. 2000-01-09 17:17:19 +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
e1c8885621 Drop setgid privs early, via OpenBSD
Reported in PR 5970 by Joseph Myers <jsm@octomino.demon.co.uk>
1999-07-21 04:04:21 +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
mrg
6be07a674c add missing .Nm calls and MLINKS. from spz@serpens.swb.de 1997-11-12 00:47:32 +00:00
lukem
334d2ddf81 minor KNFify 1997-10-11 02:40:39 +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
thorpej
871c9c08af Use ${INSTALL}. 1996-10-18 02:37:51 +00:00
jtc
5224609738 Removed "extern int errno"; Added #include <errno.h> if not already present. 1996-02-06 22:47:06 +00:00
cgd
101657d110 clean up import 1995-03-21 15:03:38 +00:00
cgd
c3290293b8 from Lite 1995-03-21 12:24:13 +00:00
cgd
c4c01d75b2 specify man pages the new way. 1994-12-22 09:31:26 +00:00
jtc
defa0d9f09 Update to use new -mandoc macros. 1993-08-05 01:46:15 +00:00
mycroft
8542364e07 Add RCS identifiers. 1993-08-01 18:49:50 +00:00
mycroft
b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
mycroft
cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00