summaryrefslogtreecommitdiffstats
path: root/adventure/setup.c
Commit message (Collapse)AuthorAgeFilesLines
* games: remove trailing whitespace in *.c and *.hrillig2021-05-051-3/+3
|
* KNF and WARNS=3jmc2005-07-011-8/+7
|
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-7/+3
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* Ensure trailing newline is present on error and warning messages (lostjsm2001-08-291-3/+3
| | | in previous conversion from <err.h> functions to ISO C ones).
* Don't use <sys/cdefs.h> __COPYRIGHT/__RCSID macros or <err.h> err/errxsimonb2000-07-311-15/+20
| | | | | functions for host programs - use portable ANSI constructs instead. Patches from Chris Demetriou.
* 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.
* The patch below does some minor cleanup of adventure(6): an additionalhubertf1999-02-101-3/+7
| | | | | | | | | | | 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>
* some cleanups as per PR#6082 by Joseph Myers <jsm28@cam.ac.uk>hubertf1998-09-131-9/+9
|
* KNFify againlukem1997-10-111-15/+5
|
* KNFifylukem1997-10-111-25/+25
|
* clean up RCS idscgd1995-03-211-0/+6
|
* adventure(6), from 44litejtc1994-10-211-0/+125