Commit Graph

34 Commits

Author SHA1 Message Date
brian
34ad3e29c4 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
phk
a8ea886399 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
ru
1ef340bf02 - Backout botched attempt to intoduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:22:12 +00:00
ru
0f13d32b13 Set the default manual section for games/ to 6. 2001-03-20 18:08:43 +00:00
grog
cbefc59559 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
ru
4e978a24b5 mdoc(7) police: fixed a few bogons. 2001-01-25 14:16:42 +00:00
phantom
b216b76172 man(7) -> mdoc(7) 2001-01-25 12:36:16 +00:00
phantom
e38871fd4d Remove never used home-born implementation of curses library from source
tree.
2001-01-25 12:24:29 +00:00
wollman
5e8b712997 Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
<time.h>).
2000-10-10 01:50:26 +00:00
ache
9bfeec900a Remove unneded -ltermcap or -lmytinfo 2000-09-16 03:52:06 +00:00
bde
880da29883 Fixed bitrot in DPADD. 2000-07-19 16:24:08 +00:00
kris
911669a1de Don't call printf with no format string. 2000-07-10 05:16:59 +00:00
roberto
d8c1bc1cb7 -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
billf
96b51ef5f4 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
5bc8e1aca4 copyright/sccsid/rcsid cleanup. 1999-11-30 03:50:02 +00:00
marcel
c887cd85a0 Fix breakage in previous commit. 1999-11-16 11:55:58 +00:00
billf
ea8c74d56f Sync our register usage with NetBSD's (non-)usage. 1999-11-16 02:58:06 +00:00
billf
dcbabdc774 Add $FreeBSD$ 1999-11-16 02:45:03 +00:00
peter
cdad5bae8c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
nik
4f0ffcbe19 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
e30f468f2b 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
bde
1ff4ae4b2a Fixed printf format errors. 1998-06-30 19:10:49 +00:00
jb
9dcccdbb8c Change long variables to time_t if they are passed to time() or localtime()
be reference.
1998-05-09 10:15:15 +00:00
ache
0579566b01 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
ache
e41e566a48 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
ache
d765fd41ba 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
ache
94caad298b Install empty rogue.scores file to prevent it owned by
first user who run rogue
1997-09-24 00:17:13 +00:00
phk
99bb50dbac 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
jkh
98221375b5 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
rgrimes
21c42b2996 Remove trailing whitespace. 1995-05-30 03:37:36 +00:00
ache
2df53fee46 Add missing "noflush" option from standard rogue 1995-01-04 17:49:28 +00:00
ache
712162ea68 Allow to save/restore files (was games user suid problem) 1994-10-03 14:41:11 +00:00
rgrimes
fcde3ed447 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