summaryrefslogtreecommitdiff
path: root/games/hack
AgeCommit message (Collapse)Author
2009-06-03remove unused variableCharles Longeau
ok millert@ ray@
2009-06-01Fix fgets handling.Ray Lai
1. Skip blank lines instead of dereferencing NULL-1. 2. If bufr is a blank line don't pass bufr+1 as a pointer. OK millert
2009-06-01Add a tab to blank line so hack(6) knows to print a blank lineRay Lai
rather than ending there. OK millert
2009-06-01Typo, from NetBSD.Ray Lai
OK jmc millert
2009-06-01Style, inspired by NetBSD.Ray Lai
No binary change.
2007-09-14remove some warnings:Charles Longeau
unused variable `variable' `variable' might be used uninitialized in this function ok gilles@ ray@
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
ok pyr@, ray@, millert@, moritz@, chl@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-02tidy up synopsis; from Igor SobradoJason McIntyre
tweak AUTHORS whilst here
2007-02-21- Pass full buffer size to fgets.Ray Lai
- No need to initialize buffer. - Spacing. Based on diff from Charles Longeau <chl at tuxfamily dot org> long ago. OK moritz@.
2006-10-11use SEEK_SET; chl@tuxfamily.orgTheo de Raadt
2006-03-14delete lint balony from another era; adobriyan@gmail, ok teduTheo de Raadt
2005-05-01use setresgid() to drop privs, it is simply a better and less ambiguous API;Damien Miller
ok deraadt@ and millert@ a while ago, more to come
2005-04-16use vprintf, as obvious; frederik.deweerdt@laposte.netTheo de Raadt
2004-09-17dothrow() calls bhit() w/ both null hit functions thus have to check before ↵Michael Shalayeff
calling those; from Juha Erkkila <erkkila@cc.jyu.fi>; pr3923
2004-06-01missing apostrophe;Jason McIntyre
from ray at raylai dot org (PR #3803);
2003-09-04put escapes in the right place;Jason McIntyre
(i.e. stuff I got wrong the first time, or missed) this includes some .Cd's with missing quotes and .Nm abuse in man4;
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-07-06convert a bunch of strn{cpy,cat}->strl{cpy,cat}Anil Madhavapeddy
pjanzen@ ok
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-19A few more includes discovered in a -fno-builtin compilePaul Janzen
2003-05-19From NetBSD: as per standard hack 1.0.3, shops should have only one door.Paul Janzen
Unclear why the 4.4-lite tree was modified.
2003-05-19De-register, ANSIfy, clean up.Paul Janzen
2003-05-07Major strings rework. Ok pjanzen@Thierry Deval
2003-04-23some typos, and clarification of game rules;Jason McIntyre
help, suggestions and ok pjanzen@
2003-04-062451 lines of strdup/sprintf/strcpy whacking. mostly ok'd by pjanzenTheo de Raadt
already, but he may have later changes to make still.
2003-03-16hack is freeCamiel Dobbelaar
Thanks to Andries Brouwer, Jay Fenlason and the folks at CWI for their efforts. http://www.cwi.nl/~aeb/games/hack/hack.html ok deraadt@
2003-03-11double words and spelling fixesDavid Krause
ok pjanzen@
2002-12-06Replace things like srandom(time(NULL)) with srandomdev(3). random(3)Todd C. Miller
good enough for games but we should at least use a decent seed. pjanzen@ OK
2002-06-23uid_t and gid_t are unsignedTheo de Raadt
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-05-31No dm -> games with high score files etc. must explicitly be setgid games.Paul Janzen
2002-05-23The troll strikes.. The troll strikes.. The dungeon master ↵Theo de Raadt
dies.distrib/sets/lists
2002-05-11Add missing libraries to bsd.prog.mk (mostly kerberosV)Marc Espie
Use them in DPADD throughout the tree. Fix a few mispells (LIBMATH -> LIBM...) Wipe obsolete lib (LIBRESOLV) Sort added missing libraries, move obsolete stuff apart. Synch documentation in bsd.README ok deraadt@
2001-11-17fixes from mpech@prosoft.org.lvPaul Janzen
2001-09-19occured->occurred; from NetBSD via Mike Pechkin <mpech@prosoft.org.lv>.Paul Janzen
One of these was even in a string that got printed out.
2001-08-06Nothing but comments after #endif and #else; heko@iki.fiPaul Janzen
2001-06-06reorder sections, minor tidying; mpech@prosoft.org.lvPaul Janzen
2001-01-28$OpenBSD$Niklas Hallqvist
2001-01-04comment grammarTodd T. Fries
2001-01-04grammarTodd T. Fries
2000-08-02$HOME paranoia: never use getenv("HOME") w/o checking for NULL and non-zeroTodd C. Miller
2000-07-24printf() and %s pedantry, from itojun channelling kris@freebsdPaul Janzen
1999-08-16use O_* defines for open(2) flags and include fcntl.hTodd C. Miller
1999-07-09- remove all trailing whitespaceAaron Campbell
* except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
1998-12-15Always provide an argument to .Nm in SYNOPSIS sectionPaul Janzen
1998-11-29Don't capitalize game names at the beginning of sentences.Paul Janzen
1998-08-11curses has its own delay_output() function, so use that instead of own ownTodd C. Miller
1998-07-26o Fix Y2K buffer overflow.imp
o Fix zero filling bug in all years % 100 < 10.
1998-07-24-lcurses, not termcap/termlibTodd C. Miller