Commit Graph

13 Commits

Author SHA1 Message Date
jkh
409011930c Wargh! Who went and changed all the getopt() comparisons from -1 to
EOF?  The getopt(3) manpage clearly states that the return value is *-1*,
not EOF!  Besides, getopt(3) isn't reading from a file. :)

Noticed-while:	merging to 2.2 (where this is correct).
1998-03-01 05:10:28 +00:00
ache
395025848e Convert to random() 1997-09-24 22:55:14 +00:00
ache
5e5062ddb5 Remove setuid, priveledges already revoked early in the right way 1997-09-24 21:25:48 +00:00
ache
a6109bd784 Do not swap uids on log writting but open it first, then revoke
Simplify revoke
1997-09-24 07:10:47 +00:00
ache
5848451eba Beforeinstall scorefile to prevent it owned by first user who
run the game
1997-09-24 04:00:29 +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
eivind
3df09cad8b 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
eivind
49fd11f2aa Add setuid() before running the pager - from the code audit.
Submitted by:	Mark Huizer <xaa@stack.nl>
1997-02-23 03:29:36 +00:00
wosch
8b5ea3fbc9 444 -> ${NOBINMODE}
/usr/share -> ${SHAREDIR}
/usr/games -> ${BINDIR}
1997-02-09 02:52:41 +00:00
bde
8a5789682c 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
rgrimes
21c42b2996 Remove trailing whitespace. 1995-05-30 03:37:36 +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