Commit Graph

30 Commits

Author SHA1 Message Date
Warner Losh
8654c84817 Fix last second botch of adding $FreeBSD$. 2002-02-18 05:40:54 +00:00
Warner Losh
ad64363769 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
Ruslan Ermilov
b8ffbbf1c1 Install files via FILES. 2001-12-17 15:23:57 +00:00
Ruslan Ermilov
ecce24742d Games ownership cleanup.
Urged by:	bde
2001-06-13 15:26:31 +00:00
Ruslan Ermilov
e5b5c66bca - Backout botched attempt to intoduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:22:12 +00:00
Ruslan Ermilov
1c011f20f6 Set the default manual section for games/ to 6. 2001-03-20 18:08:43 +00:00
Kris Kennaway
45459ea3bd Format string auditing 2000-11-26 09:51:46 +00:00
Kris Kennaway
43a351dabc Format string paranoia. 2000-10-08 04:33:21 +00:00
Andrey A. Chernov
ca6d811ee5 Remove unneded -ltermcap or -lmytinfo 2000-09-16 03:52:06 +00:00
Bill Fumerola
8828590563 -Wall fixes. 1999-12-12 03:04:17 +00:00
Bill Fumerola
0e5a7be513 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
Bill Fumerola
7b216475bf copyright/sccsid/rcsid cleanup. 1999-11-30 03:50:02 +00:00
Bill Fumerola
727bf60729 Sync our register usage with NetBSD's (non-)usage. 1999-11-16 02:58:06 +00:00
Bill Fumerola
879099e556 Add $FreeBSD$ 1999-11-16 02:45:03 +00:00
Bill Fumerola
c057c9b641 Avoid ambigious if() if() else(). 1999-09-07 06:00:03 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Nik Clayton
077e7b24bc 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
Jordan K. Hubbard
01f228ffbe 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
Andrey A. Chernov
d3c80dc8d2 Convert to random() 1997-09-24 22:55:14 +00:00
Andrey A. Chernov
554cf12897 Remove setuid, priveledges already revoked early in the right way 1997-09-24 21:25:48 +00:00
Andrey A. Chernov
f5d548e45a Do not swap uids on log writting but open it first, then revoke
Simplify revoke
1997-09-24 07:10:47 +00:00
Andrey A. Chernov
c263face7b Beforeinstall scorefile to prevent it owned by first user who
run the game
1997-09-24 04:00:29 +00:00
Poul-Henning Kamp
06bba905d0 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 Eklund
34a13bf4cb 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 Eklund
6397b46dd2 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
Wolfram Schneider
c6234bb251 444 -> ${NOBINMODE}
/usr/share -> ${SHAREDIR}
/usr/games -> ${BINDIR}
1997-02-09 02:52:41 +00:00
Bruce Evans
9c0dc173cc 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
Rodney W. Grimes
010f5413b5 Remove trailing whitespace. 1995-05-30 03:37:36 +00:00
Rodney W. Grimes
0e58d91938 Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:32:28 +00:00
Jordan K. Hubbard
554eb505f8 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