Commit Graph

11 Commits

Author SHA1 Message Date
jmc 243d04ef01 KNF and WARNS=3 2005-07-01 00:03:36 +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
jsm d929aa8aeb Ensure trailing newline is present on error and warning messages (lost
in previous conversion from <err.h> functions to ISO C ones).
2001-08-29 18:22:56 +00:00
simonb 0ac29f6624 Don't use <sys/cdefs.h> __COPYRIGHT/__RCSID macros or <err.h> err/errx
functions for host programs - use portable ANSI constructs instead.

Patches from Chris Demetriou.
2000-07-31 11:25:50 +00:00
hubertf 76139748e2 From PR 7985 by Joseph Myers <jsm28@cam.ac.uk>:
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.
1999-07-14 17:21:03 +00:00
hubertf c7bcded63e The patch below does some minor cleanup of adventure(6): an additional
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>
1999-02-10 00:29:21 +00:00
hubertf 9e7f2724b9 some cleanups as per PR#6082 by Joseph Myers <jsm28@cam.ac.uk> 1998-09-13 15:23:40 +00:00
lukem ab046d9ff8 KNFify again 1997-10-11 01:55:27 +00:00
lukem 84f80fd691 KNFify 1997-10-11 01:53:21 +00:00
cgd 43b952514b clean up RCS ids 1995-03-21 12:04:53 +00:00
jtc 107c0a28c5 adventure(6), from 44lite 1994-10-21 20:51:44 +00:00