Commit Graph

52 Commits

Author SHA1 Message Date
ru
37468b69ca Install files via FILES. 2001-12-17 15:23:57 +00:00
dd
eaa6ee03b8 mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
imp
b1345499d0 Remove #if 0'd code. It turned up on my MAXPATHLEN + 1 sweep. 2001-06-05 04:29:55 +00:00
ru
45d92a4319 - Backout botched attempt to intoduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:22:12 +00:00
ru
97b705f3c8 Set the default manual section for games/ to 6. 2001-03-20 18:08:43 +00:00
kris
54640b61fa Format string auditing 2000-11-26 09:51:46 +00:00
kris
a5aaf7609c Don't call printf with no format string. 2000-07-10 05:16:59 +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
marcel
520fff788f Add type int to those variables without a type. This is caused by the
frequent use of ``register var'' instead of ``register int var'' and
the removal of the register hint in the previous commit.
1999-11-16 10:26:38 +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
marcel
91023474f8 Move the #include directive up one line and out of the function body. 1999-09-12 07:01:23 +00:00
billf
3e1d9f25c8 Avoid ambigious if() if() else(). 1999-09-07 06:00:03 +00:00
bde
2db1fa9cd9 Attempt to fix world breakage for the NOSHARED=yes case. delay_output()
is in both hack and libncurses, and the elf static linker can't handle
the duplication.  This is probably the correct fix for hack (it makes
it clear that the ospeed stuff can go away), but its effect on hack
has not been tested, and the linker bug remains open.
1999-09-04 14:35:19 +00:00
peter
9d383101c9 The ospeed hackery was disabled a while ago, finish the job. 1999-08-30 08:01:12 +00:00
peter
289c0d262f $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
obrien
4ee2bd7866 Create score files root:games rather than bin:{games,bin}.
related-to-PR:	bin/8440
Submitted by:	Stephen J. Roznowski sjr@home.net
1999-06-23 04:26:37 +00:00
bde
9b7e972a2c Fixed CLEANFILES. 1998-12-27 15:04:33 +00:00
jb
72446d9a3a Build the makedefs program static to avoid trying to use the shared
loader before it has been installed in an aout to elf transition build.
1998-08-15 07:56:07 +00:00
imp
c9bfb10fa5 o Fix Y2K buffer overflow.
o Fix zero filling bug in all years % 100 < 10.
1998-07-26 16:00:16 +00:00
bde
78764e3ba6 Added a `build-tools' target for internal tools.
Honor LDFLAGS for building internal tools.

Always build intermediate object files explicitly so that binaries don't
change when they are rebuilt.

Fixed some style bugs.
1998-07-07 01:41:58 +00:00
jb
6f0053bd9d Add #include string.h to get prototypes. 1998-05-09 11:06:46 +00:00
jb
6ad82c9881 Remove #define NULL because stdio.h does that. 1998-05-09 10:03:01 +00:00
jb
2316af12a3 Add #include string.h to get prototypes. 1998-05-09 09:54:17 +00:00
charnier
e28dd83911 Use Id instead of Header. 1998-04-01 06:13:47 +00:00
bde
8609d653b2 Don't use the FreeBSD misfeature DPSRCS or give explicit dependencies
on generated headers.  Just put generated headers in SRCS so that
bsd.*.mk can generate better dependencies.
1998-03-06 07:00:28 +00:00
ache
b78f1ac8f7 Use include for malloc declaration 1997-09-24 21:09:17 +00:00
ache
5449271204 Oops, to many zeroes was in usleep arg 1997-09-24 20:19:59 +00:00
ache
6dbfe3ba60 Remove setuid, uneeded now 1997-09-24 18:03:26 +00:00
ache
96676824f3 Make hack non-setuid back, it is possible because hackdir hierarchy
are not more readable/writeable by anyone except "games" group
1997-09-24 17:43:46 +00:00
ache
60b87f45b8 Includes cleanup
Fix nonull flag detecting from termcap
Use usleep to handle nonull case
Prevent overflow on genocided getenv
Install most files not owned by games.games to prevent
data modifications
Fix path for gethdate()
1997-09-24 12:29:25 +00:00
ache
73e522e820 Use SUIDGAME hook now 1997-09-24 10:00:29 +00:00
ache
115d7275ba Since hack suid now, add -fschg to install flags to prevent this
binary to be overwritted
1997-09-24 09:45:57 +00:00
ache
c332edcb08 Make hack suid "games" (additionly to sgid "games" as run),
it is needed for savegames and bones, they
intendent to not be altered by user and can't be pre-created as scorefile.
Clear savegames on install: target too, not only bones
Install rumors not readable by all.
Cleanup includes a little.
1997-09-24 08:58:44 +00:00
ache
8ac875c94c Simplify revoke 1997-09-24 08:09:04 +00:00
ache
7798c29559 Use srandomdev 1997-09-24 05:18:42 +00:00
ache
fa23c77f0f Do not install 3 files writeable by all (666), change it to 664 1997-09-24 00:07:08 +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
wosch
facc59a057 444 -> ${NOBINMODE}
/usr/share -> ${SHAREDIR}
/usr/games -> ${BINDIR}
1997-02-09 02:52:41 +00:00
jkh
ac2b3f6ae6 Install the rumors file.
Submitted-By: koshy@india.hp.com
Closes-PR#: 1883
1996-10-19 20:11:45 +00:00
nate
1b38972b73 The Makefile assumed that builder had '.' in it's path, which is a
security hole for root.  Fix this oversight and clean up the build of
'hack.onames.h' which should be built everytime.

Tested with/without obj directories and .depend files.

Noticed by:	"Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de>
1996-05-15 16:54:05 +00:00
ache
5cfe85c0a4 Add missing entries to speedtable 1995-08-04 09:42:05 +00:00
bde
f5284ed86d 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
bde
8d95a8ac3e Remove bogus references to /usr/ucb. 1995-06-26 06:40:23 +00:00
rgrimes
30ef9631c5 Remove trailing whitespace. 1995-05-30 03:37:36 +00:00
rgrimes
472d2ef3ed Fix nested comments for -Wcomment warnings. 1995-05-09 13:33:06 +00:00
ats
b15a8bf05a Add a -fwritable-strings to the CFLAGS. hack need it :-). 1994-11-26 16:15:44 +00:00
rgrimes
2b975cb8d0 Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:32:28 +00:00
jkh
e077351fdc This commit was generated by cvs2svn to compensate for changes in r2490,
which included commits to RCS files with non-trunk default branches.
1994-09-04 04:03:31 +00:00