Commit Graph

35 Commits

Author SHA1 Message Date
Dima Dorfman
cd4ca11ce8 Slightly improve wording in the opening paragraph.
PR:		31202
Submitted by:	Jasmin Blanchette <jasmin@troll.no>
2001-10-14 23:13:01 +00:00
Brian Somers
7bc6d0158f Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
Poul-Henning Kamp
12f70a5587 When a game ends that makes the top 10, the function insert_score in
score.c is called to make the new score file.  But the case for KFIRE
(killed by fire) incorrectly uses strcpy instead of strcat (all the
other cases use strcat).  This puts the string in the wrong place and
corrupts the score file.

PR:		13278
Submitted by:	Mark W. Krentel krentel@dreamscape.com
2001-05-23 21:01:01 +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
Greg Lehey
9cf10fb445 Correct typo.
Submitted by:	"James and Amanda" <jhar2gthr@yahoo.com> (well, ~James, anyway).

Of necessity add $FreeBSD$.

Required by:	Precommit checks.
2001-02-15 07:48:28 +00:00
Ruslan Ermilov
a0e3937ccb mdoc(7) police: fixed a few bogons. 2001-01-25 14:16:42 +00:00
Alexey Zelkin
52cb1335f2 man(7) -> mdoc(7) 2001-01-25 12:36:16 +00:00
Alexey Zelkin
64385c3bca Remove never used home-born implementation of curses library from source
tree.
2001-01-25 12:24:29 +00:00
Garrett Wollman
eb2fc78027 Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
<time.h>).
2000-10-10 01:50:26 +00:00
Andrey A. Chernov
ca6d811ee5 Remove unneded -ltermcap or -lmytinfo 2000-09-16 03:52:06 +00:00
Bruce Evans
bb6f2fd443 Fixed bitrot in DPADD. 2000-07-19 16:24:08 +00:00
Kris Kennaway
19a32101dd Don't call printf with no format string. 2000-07-10 05:16:59 +00:00
Ollivier Robert
74f509a058 -lcompat doesn't seem to be needed anymore.
MFC candidate (compile fine on 5.0 and 4.0-STABLE).
2000-07-03 07:49:32 +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
Marcel Moolenaar
22afa4faf3 Fix breakage in previous commit. 1999-11-16 11:55:58 +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
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
Bruce Evans
e13d2860b1 Fixed printf format errors. 1998-06-30 19:10:49 +00:00
John Birrell
37fb4a6158 Change long variables to time_t if they are passed to time() or localtime()
be reference.
1998-05-09 10:15:15 +00:00
Andrey A. Chernov
56eb7842b4 Fix longstanding bug: it was impossible to save to the same file twice
since it was deleted on exit.
1997-09-24 21:05:08 +00:00
Andrey A. Chernov
1a7c2c21c1 Fix revoke to use setgid instead of setuid,since games uid changed to
gid and this place overlooked
1997-09-24 20:52:59 +00:00
Andrey A. Chernov
cd005dd0cd Revoke privs before shell exit
Includes cleanup
Use getlogin()
Fix names in FILES section
Convert to random()
1997-09-24 20:48:39 +00:00
Andrey A. Chernov
54779e613a Install empty rogue.scores file to prevent it owned by
first user who run rogue
1997-09-24 00:17:13 +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
Jordan K. Hubbard
34b8396337 If not on a tty, don't do "--more--" processing. Someday, I will get
rogomatic to work with this version. :)
1996-11-07 09:27:23 +00:00
Rodney W. Grimes
010f5413b5 Remove trailing whitespace. 1995-05-30 03:37:36 +00:00
Andrey A. Chernov
bf9b664faa Add missing "noflush" option from standard rogue 1995-01-04 17:49:28 +00:00
Andrey A. Chernov
acc5abeb6a Allow to save/restore files (was games user suid problem) 1994-10-03 14:41:11 +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