summaryrefslogtreecommitdiff
path: root/games/hack
AgeCommit message (Expand)Author
2016-03-16Prefer fseek(3) over rewind(3) since the latter although it also calls fseekmestre
2016-03-15execl(3) calls must have the last argument casted to (char *)NULLmestre
2016-01-10#ifdef QUEST then a few functions won't work, because of that includemestre
2016-01-09Remove several casts to (char *) 0 and replace them by NULLmestre
2016-01-09This diff is rather large, but it's just simply removing unnecessary headersmestre
2016-01-07hack expects to be able to read ^Z as a normal character so disableTodd C. Miller
2016-01-07Some basic code maintenance in games/tb
2015-12-26Set as __dead a few more functions, that don't return, on games/mestre
2015-12-16Use __progname instead of hand-rolled parsing of argv[0].tb
2015-12-05add missing #include "hack.h"tb
2015-11-30delete useless BUGS section; patch from Jan Stary <hans at stare dot cz>Ingo Schwarze
2015-11-24In 1995, all of the games were setuid games. At end of 1996, I took them allTheo de Raadt
2015-11-11creat() -> open equiv; from Frederic NowakTheo de Raadt
2015-11-04replace setbuf with setvbuf, from Frederic NowakTed Unangst
2015-10-24Cast ctype functions' argument to unsigned char.mmcc
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc
2015-10-24Cast isdigit()'s argument to unsigned char.mmcc
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc
2015-10-24Cast isdigit()'s argument to unsigned char.mmcc
2015-10-16Disable !-command to escape to a shell. You are supposed to play, pressTobias Stoeckmann
2015-09-27Annotate funcs with __attribute__((printf(...))) and clean up the fallout:Philip Guenther
2015-03-13remove the first comma from constructs like ", and," and ", or,": you can useJason McIntyre
2015-01-19Make some $OpenBSD$ lines prettier/standardier by eliminatingKenneth R Westerback
2015-01-15all modern systems can do this SUSPEND thingTheo de Raadt
2015-01-15NR_OF_EOFS is a festering boil, lance & drain.Theo de Raadt
2014-12-08For now, these games still contain deterministic randomization (forTheo de Raadt
2014-11-16Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,Philip Guenther
2014-09-08obvious cases of missing .An;Ingo Schwarze
2014-03-11Match bwrite()'s prototype with write()'s, zapping a lint commentPhilip Guenther
2014-03-11Welcome to 1989: we can ask for signed chars when we want themPhilip Guenther
2014-03-11lint is dead (long live the lint!)Philip Guenther
2014-01-21obvious .Pa fixes; found with mandocdb(8)Ingo Schwarze
2011-03-16Use the help pager code, but repair it in various ways.Theo de Raadt
2010-10-29remove the "-*- nroff -*-" lines;Jason McIntyre
2009-12-10fix potential bugs spotted by parfaitBob Beck
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-06-03remove unused variableCharles Longeau
2009-06-01Fix fgets handling.Ray Lai
2009-06-01Add a tab to blank line so hack(6) knows to print a blank lineRay Lai
2009-06-01Typo, from NetBSD.Ray Lai
2009-06-01Style, inspired by NetBSD.Ray Lai
2007-09-14remove some warnings:Charles Longeau
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-02tidy up synopsis; from Igor SobradoJason McIntyre
2007-02-21- Pass full buffer size to fgets.Ray Lai
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