summaryrefslogtreecommitdiff
path: root/games/hack
AgeCommit message (Expand)Author
2021-01-26Fix build with -fno-common. OK deraadt@Todd C. Miller
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-04-08macro args and punctuation should be space spearated;Jason McIntyre
2019-04-05Fix hack(6).Anthony J. Bentley
2018-08-24Remove a few too early pledge(2)s on games/ and apply them a little bit laterRicardo Mestre
2017-07-10remove misc. depend and yacc nits that no longer matter.Marc Espie
2017-07-01missed BUILDFIRST. Allow stuff to proceed without dependsMarc Espie
2017-06-20Fix a path in Makequest and remove hack.sh (it never worked).Michal Mazurek
2017-04-08snprintf() format string should be literalGleydson Soares
2016-09-11Callers of time(3) should #include <time.h>.Theo Buehler
2016-09-09These games have been broken for the better part of a year, ever sinceTheo Buehler
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