Commit Graph

28 Commits

Author SHA1 Message Date
billf
4ccc7578a7 Conform to BDECFLAGS 2000-10-08 03:24:30 +00:00
ache
e5f9e7dd4a Remove unneded -ltermcap or -lmytinfo 2000-09-16 03:52:06 +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
joerg
edb014178d Don't coredump if can't write to the scorefile. 1999-11-25 15:57:54 +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
billf
33adb981d4 Spelling fixes.
PR:		bin/12727
Submitted by:	Stephen J. Roznowski <sjr@home.com>
Obtained from:	NetBSD && NetBSD PR system
1999-09-07 05:28:22 +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
steve
d59a3ca336 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
jb
ae8864f6a2 tv_sec in timeval is a long, and a time_t is not necessarily a long. 1998-05-09 09:41:30 +00:00
jb
88c50b200a Add #include string.h to get prototypes. 1998-05-09 09:39:46 +00:00
jb
85a011c31a Add 'extern' to arrays that are declared and initialised elsewhere. 1998-05-09 09:38:11 +00:00
ache
3cf3c55356 Cleanup
Convert to random()
1997-09-24 22:40:45 +00:00
ache
3fadb9c289 Revoke privs once at earlier stage and not mess with setegid in save
Fix save: missing creation modes arg and wrong symlink test
Small C cleanup
1997-09-24 09:42:33 +00:00
ache
3cb287c630 Beforeinstall scorefile to prevent it owned by first who run the game 1997-09-24 03:43:30 +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
ache
78407f0914 Back out MAXLOGNAME fix, Bruce points that copyinstr require NUL 1997-03-03 07:59:54 +00:00
ache
05c8126ef7 Add +1 to NUL terminate after MAXLOGNAME 1997-03-02 21:52:02 +00:00
eivind
8db9f05d1b Actually remove sys/time.h hack; fix typo.
Pointed out by:	bde
1997-02-26 20:10:45 +00:00
eivind
27eb6d09a0 Remove buffer overflow and tempfile race, remove <sys/time.h> hack (and
need for it), change definition of setbit() macro and friends to be
compatible with <sys/param.h>.
The bugs were discovered and fixed as a result of the FreeBSD code audit.

Submitted by:	Aaron Bornstein <aaronb@j51.com>, Mark Huizer <xaa@stack.nl>
1997-02-20 03:04:54 +00:00
bde
a2378a9d0c Hack around misuse of reserved names clock' and and time' in a different
way.  Defining KERNEL before including <sys/time.h> broke when "opt_cpu.h"
was included in a deeply nested header, except in -current where the
problem is masked by a namespace pollution bug in <stdio.h>.
1996-12-13 13:12:02 +00:00
rgrimes
30ef9631c5 Remove trailing whitespace. 1995-05-30 03:37:36 +00:00
ache
53a929e65c Prevent core dump for root
Obtained from: partially from 1.1.5.1
1994-12-03 02:27:40 +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