Commit Graph

32 Commits

Author SHA1 Message Date
kris
6063437945 Quiet some format string warnings by marking prototypes with
__printflike()

MFC After:	1 week
2002-05-28 06:12:31 +00:00
peter
b7bed4f09b Do not guess what a bool is, just use it. 2002-05-21 08:34:18 +00:00
imp
8ad412b83c Fix last second botch of adding $FreeBSD$. 2002-02-18 05:40:54 +00:00
imp
24cd0a3c91 Remove __P
Remove __STDC__ (which means we now use stdarg rather than vararg)
Remove register
Remove main prototype
2002-02-18 05:15:19 +00:00
ru
37468b69ca Install files via FILES. 2001-12-17 15:23:57 +00:00
ru
8766a6714b Games ownership cleanup.
Urged by:	bde
2001-06-13 15:26:31 +00:00
ru
45d92a4319 - Backout botched attempt to intoduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:22:12 +00:00
ru
97b705f3c8 Set the default manual section for games/ to 6. 2001-03-20 18:08:43 +00:00
kris
54640b61fa Format string auditing 2000-11-26 09:51:46 +00:00
kris
7633d05307 Format string paranoia. 2000-10-08 04:33:21 +00:00
ache
e5f9e7dd4a Remove unneded -ltermcap or -lmytinfo 2000-09-16 03:52:06 +00:00
billf
aeee88b81a -Wall fixes. 1999-12-12 03:04:17 +00:00
billf
eeb2dbc8d8 1. Don't overwrite scorefiles if they already exist.
PR:		bin/13068
Submitted by:	Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>

2. Sprinkle $FreeBSD$ around.
1999-12-10 21:13:42 +00:00
billf
002f485078 copyright/sccsid/rcsid cleanup. 1999-11-30 03:50:02 +00:00
billf
44fac3a89d Sync our register usage with NetBSD's (non-)usage. 1999-11-16 02:58:06 +00:00
billf
ecc8d48940 Add $FreeBSD$ 1999-11-16 02:45:03 +00:00
billf
3e1d9f25c8 Avoid ambigious if() if() else(). 1999-09-07 06:00:03 +00:00
peter
289c0d262f $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
nik
9487ea6721 Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

     .\"    $Id$
     .\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by:            bde
1999-07-12 20:30:45 +00:00
jkh
441f3c9dac Wargh! Who went and changed all the getopt() comparisons from -1 to
EOF?  The getopt(3) manpage clearly states that the return value is *-1*,
not EOF!  Besides, getopt(3) isn't reading from a file. :)

Noticed-while:	merging to 2.2 (where this is correct).
1998-03-01 05:10:28 +00:00
ache
0465821611 Convert to random() 1997-09-24 22:55:14 +00:00
ache
44591d995a Remove setuid, priveledges already revoked early in the right way 1997-09-24 21:25:48 +00:00
ache
92a326af9b Do not swap uids on log writting but open it first, then revoke
Simplify revoke
1997-09-24 07:10:47 +00:00
ache
d41c14dad8 Beforeinstall scorefile to prevent it owned by first user who
run the game
1997-09-24 04:00:29 +00:00
phk
2d831c7d21 Many places in the code NULL is used in integer context, where
plain 0 should be used.  This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.

PR:		2752
Submitted by:	Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 13:45:34 +00:00
eivind
d8e95d8c1a Change games from setuid games to setgid games.
Reviewed by:	maybe@yes.no
Obtained from:	OpenBSD (mostly deraadt@openbsd.org)
1997-09-01 00:34:51 +00:00
eivind
9b98797d29 Add setuid() before running the pager - from the code audit.
Submitted by:	Mark Huizer <xaa@stack.nl>
1997-02-23 03:29:36 +00:00
wosch
facc59a057 444 -> ${NOBINMODE}
/usr/share -> ${SHAREDIR}
/usr/games -> ${BINDIR}
1997-02-09 02:52:41 +00:00
bde
f5284ed86d Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
rgrimes
30ef9631c5 Remove trailing whitespace. 1995-05-30 03:37:36 +00:00
rgrimes
2b975cb8d0 Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:32:28 +00:00
jkh
057afceb86 Bring in the 4.4 Lite games directory, modulo man page changes and segregation
of the x11 based games.  I'm not going to tag the originals with bsd_44_lite
and do this in two stages since it's just not worth it for this collection,
and I've got directory renames to deal with that way.  Bleah.
Submitted by:	jkh
1994-09-04 04:03:31 +00:00