Commit Graph

34 Commits

Author SHA1 Message Date
Eitan Adler
d1ea2c6674 bcd isn't installed setuid.
caesar isn't installed setuid.

For the archaeologists:
it seems this call originally came from NetBSD PR 5970 and 5945

PR:		172566
Submitted by:	Erik Cederstrand <erik@cederstrand.dk>
Approved by:	cperciva
MFC after:	3 days
2012-10-22 03:06:53 +00:00
Ed Schouten
3b9fe1e175 Add static keywords to variables and functions where possible in games/.
This allows us to detect unused functions and variables and allows the
compiler to do a better job at optimisation.
2011-11-05 07:18:53 +00:00
Ulrich Spörlein
dfc0276185 Drop advertising clause in manpages. It was done a long time ago
for the source code.

Discussed with:	core
2010-12-06 19:12:51 +00:00
Ulrich Spörlein
0d9deed52c mdoc: drop redundant .Pp and .LP calls
They have no effect when coming in pairs, or before .Bl/.Bd
2010-10-08 12:40:16 +00:00
Warner Losh
f5144a270d Remove the third clause for the Berkeley parts of games, per the
letter in /COPYRIGHT.
2010-02-15 18:46:02 +00:00
Ulrich Spörlein
f6a71b56a1 games: make WARNS=6 the default, remove overrides
This also bumps factor, fortune, primes, and random to WARNS=6.

Approved by:	ed (Co-mentor)
2010-02-15 14:32:00 +00:00
Stefan Farfeleder
b484917d53 Make caesar and pom WARNS 6 clean. While there, use prototypes everywhere.
PR:	62456
2005-05-01 19:34:22 +00:00
Ruslan Ermilov
07e4e2cc98 mdoc(7) police: Added "rot13" to the NAME section.
Approved by:	re (blanket)
2003-05-16 21:26:39 +00:00
David E. O'Brien
e3c85e0226 Make the __FBSDID usage consistent
and protect copyright[] from Gcc 3.3's whining.
2003-05-05 09:52:25 +00:00
Tim J. Robbins
954a953e8d Explain what the rot13 script does.
PR:		39044
2003-03-24 11:18:30 +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
8af1452cf8 Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
Dima Dorfman
982f5d88ff WARNS= -> WARNS?=
Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-22 21:38:30 +00:00
Kris Kennaway
96103aa5a5 Silence WARNS=2 and BDECFLAGS on alpha and i386
MFC after:	1 week
2001-05-20 05:44:03 +00:00
Ruslan Ermilov
b9ad8c8635 beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +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
Ruslan Ermilov
46eea498da mdoc(7) police: Change -filled displays (which just happen
to be the same as -ragged in the current implementation) to
-ragged.  With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.
2001-02-07 13:45:30 +00:00
Ruslan Ermilov
a00cb08bcb mdoc(7) police: use the new features of the Nm macro. 2000-11-20 12:06:19 +00:00
Bill Fumerola
765823fba4 add a real prototype for printit() 2000-06-30 03:17:42 +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
Peter Wemm
e46b89dc93 Fix warning: return type of main' is not int' 1999-09-15 01:58:44 +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
Steve Price
af71cfbb87 Merge a bunch of cleanups from NetBSD.
PR:		8083
Submitted by:	Stephen J. Roznowski <sjr@home.net>
Obtained from:	a whole slew of NetBSD PRs
1999-04-19 03:59:02 +00:00
Andrey A. Chernov
6c0c9b8c37 Remove so-called revoke, this game not installd sguid 1997-09-01 11:24:35 +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
Wolfram Schneider
c6234bb251 444 -> ${NOBINMODE}
/usr/share -> ${SHAREDIR}
/usr/games -> ${BINDIR}
1997-02-09 02:52:41 +00:00
Wolfram Schneider
ae7fb360a6 $* -> "$@"
use exec for last command in shell script
1997-02-09 01:09:33 +00:00
Andrey A. Chernov
36f5cb505d Use valid ctype range now.
Includes cleanup
Misc. cleanup
Use absolute path in rot13 wrapper.
1996-05-27 08:50:53 +00:00
Mike Pritchard
a5ed710ccd Fix even more spelling errors in some more man pages. 1996-01-30 16:34:52 +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
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