#
abca1099 |
| 02-May-2021 |
rillig <rillig@NetBSD.org> |
games: remove trailing whitespace in *.c and *.h
|
#
1056087c |
| 19-Jun-2012 |
dholland <dholland@NetBSD.org> |
WARNS=5, and make WARNS=5 the default for src/games.
|
#
ea7ebc38 |
| 01-Sep-2011 |
plunky <plunky@NetBSD.org> |
reinstate NULL cast by request, where the NULL was being passed as a vararg
|
#
4a1b3429 |
| 31-Aug-2011 |
plunky <plunky@NetBSD.org> |
NULL does not need a cast
|
#
f4fdd2aa |
| 29-May-2010 |
dholland <dholland@NetBSD.org> |
Fix some additional typos/grammar slips.
|
#
c30de92f |
| 29-May-2010 |
dholland <dholland@NetBSD.org> |
Fix dog-Latin. The plural of wumpus could be wumpi, wumpus, or even wumpora, but not 'wumpii'. Where does this -ii crap come from?
|
#
33797627 |
| 27-Aug-2009 |
dholland <dholland@NetBSD.org> |
remove unnecessary cast
|
#
da121b33 |
| 12-Aug-2009 |
dholland <dholland@NetBSD.org> |
sprinkle static
|
#
2fe2731d |
| 20-Jul-2008 |
lukem <lukem@NetBSD.org> |
Remove the \n and tabs from the __COPYRIGHT() strings.
|
#
d463e4db |
| 28-Jan-2008 |
dholland <dholland@NetBSD.org> |
Build with WARNS=4.
|
#
8b0f9554 |
| 15-Dec-2007 |
perry <perry@NetBSD.org> |
convert __attribute__s to applicable cdefs.h macros
|
#
19fe2955 |
| 19-Jan-2006 |
garbled <garbled@NetBSD.org> |
Fix some minor buglets in wump: 1) Don't put two pits in the same room. 2) Don't put bats and pits in the same room. (you will never hit the bat) 3) Don't start the player in a room with a pit or ba
Fix some minor buglets in wump: 1) Don't put two pits in the same room. 2) Don't put bats and pits in the same room. (you will never hit the bat) 3) Don't start the player in a room with a pit or bad, if possible. Some caves are so crowded the loop may go on forever, so we give up after 100 tries to put them in a safe location (as long as it's not with the wumpus). 4) Make the manpage reflect reality WRT the default number of rooms.
Bug #3 pointed out by salo.
show more ...
|
#
b2fc76e5 |
| 19-Jan-2006 |
garbled <garbled@NetBSD.org> |
Apply patch from PR bin/26501 to fix hang in wump if you play too many games in a row. Also modify change made in rev 1.18 to work correctly. take_action() returns 1 if the player dies, causing the
Apply patch from PR bin/26501 to fix hang in wump if you play too many games in a row. Also modify change made in rev 1.18 to work correctly. take_action() returns 1 if the player dies, causing the game to allways exit after any death, now the game correctly asks if the player would like to play again.
show more ...
|
#
18de240b |
| 21-Mar-2005 |
jwise <jwise@NetBSD.org> |
Fix a long-standing bug in wump(6) whereby hitting ^d to exit would first print ``Care to play another game? (y-n)'' (but then exit anyway without waiting for an answer).
|
#
b91a81ab |
| 15-Feb-2005 |
jsm <jsm@NetBSD.org> |
Cast last argument of execl to (char *).
Reviewed by <hubertf>.
|
#
cb5fd834 |
| 27-Jan-2004 |
jsm <jsm@NetBSD.org> |
Remove uses of __P.
|
#
e5aeb4ea |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
#
a9d4ab8d |
| 31-Aug-2001 |
jsm <jsm@NetBSD.org> |
Ensure that the random hop delta does make the cave connected. Based on bug report and patch from <afghan@afghanhound.org.uk>.
|
#
f9eca697 |
| 08-May-2000 |
mycroft <mycroft@NetBSD.org> |
Use setgid(), not setregid().
|
#
5367f340 |
| 12-Sep-1999 |
jsm <jsm@NetBSD.org> |
Security improvements for games (largely from or inspired by OpenBSD).
Games which run setgid from dm, but don't need to, should drop their privileges at startup.
Games which have a scorefile shoul
Security improvements for games (largely from or inspired by OpenBSD).
Games which run setgid from dm, but don't need to, should drop their privileges at startup.
Games which have a scorefile should open it at startup, then drop all privileges leaving just the open writable file descriptor. If the game can invoke subprocesses, this should be made close-on-exec.
Games with scorefiles should make sure they do not get a file descriptor < 3. (Otherwise, they could get confused and corrupt the scorefile when using stdin, stdout or stderr.)
Some old setuid revokes from the days of setuid games change into gid revokes.
show more ...
|
#
8467923c |
| 10-Sep-1999 |
kleink <kleink@NetBSD.org> |
Use STD*_FILENO.
|
#
2b25de3a |
| 09-Sep-1999 |
jsm <jsm@NetBSD.org> |
Include <time.h> in various places in the games where time() or time_t are used.
|
#
4502aed4 |
| 14-Jul-1999 |
hubertf <hubertf@NetBSD.org> |
This patch fixes a -Wcast-qual warning in wump(6). Submitted in 7994 by Joseph Myers <jsm28@cam.ac.uk>
|
#
ce3b092b |
| 10-Feb-1999 |
hubertf <hubertf@NetBSD.org> |
Only invoke pager given in $PAGER if output goes to a tty, feed pager via stdin, per PR 6699 by Joseph Myers <jsm28@cam.ac.uk>
|
#
1c9494f6 |
| 13-Sep-1998 |
hubertf <hubertf@NetBSD.org> |
mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)
|