summaryrefslogtreecommitdiffstats
path: root/games/hack
AgeCommit message (Expand)AuthorFilesLines
2021-03-07Fix intercardinal directions in hack help.tb1-1/+1
2021-01-26Fix build with -fno-common. OK deraadt@millert1-4/+1
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt7-24/+24
2019-04-08macro args and punctuation should be space spearated;jmc1-3/+3
2019-04-05Fix hack(6).bentley6-39/+62
2018-08-24Remove a few too early pledge(2)s on games/ and apply them a little bit latermestre1-4/+5
2017-07-10remove misc. depend and yacc nits that no longer matter.espie1-2/+1
2017-07-01missed BUILDFIRST. Allow stuff to proceed without dependsespie1-2/+2
2017-06-20Fix a path in Makequest and remove hack.sh (it never worked).akfaew3-90/+4
2017-04-08snprintf() format string should be literalgsoares1-2/+2
2016-09-11Callers of time(3) should #include <time.h>.tb1-1/+2
2016-09-09These games have been broken for the better part of a year, ever sincetb1-2/+9
2016-03-16Prefer fseek(3) over rewind(3) since the latter although it also calls fseekmestre1-2/+4
2016-03-15execl(3) calls must have the last argument casted to (char *)NULLmestre2-6/+6
2016-01-10#ifdef QUEST then a few functions won't work, because of that includemestre1-1/+4
2016-01-09Remove several casts to (char *) 0 and replace them by NULLmestre10-28/+28
2016-01-09This diff is rather large, but it's just simply removing unnecessary headersmestre59-381/+417
2016-01-07hack expects to be able to read ^Z as a normal character so disablemillert1-1/+3
2016-01-07Some basic code maintenance in games/tb2-7/+11
2015-12-26Set as __dead a few more functions, that don't return, on games/mestre1-3/+3
2015-12-16Use __progname instead of hand-rolled parsing of argv[0].tb2-7/+6
2015-12-05add missing #include "hack.h"tb1-1/+2
2015-11-30delete useless BUGS section; patch from Jan Stary <hans at stare dot cz>schwarze1-6/+2
2015-11-24In 1995, all of the games were setuid games. At end of 1996, I took them allderaadt1-2/+1
2015-11-11creat() -> open equiv; from Frederic Nowakderaadt4-9/+9
2015-11-04replace setbuf with setvbuf, from Frederic Nowaktedu1-2/+2
2015-10-24Cast ctype functions' argument to unsigned char.mmcc2-7/+8
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc2-7/+7
2015-10-24Cast isdigit()'s argument to unsigned char.mmcc1-3/+3
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc1-4/+4
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc1-3/+5
2015-10-24Cast isdigit()'s argument to unsigned char.mmcc1-3/+3
2015-10-16Disable !-command to escape to a shell. You are supposed to play, presstobias2-3/+3
2015-09-27Annotate funcs with __attribute__((printf(...))) and clean up the fallout:guenther15-45/+52
2015-03-13remove the first comma from constructs like ", and," and ", or,": you can usejmc1-3/+3
2015-01-19Make some $OpenBSD$ lines prettier/standardier by eliminatingkrw1-1/+1
2015-01-15all modern systems can do this SUSPEND thingderaadt2-5/+3
2015-01-15NR_OF_EOFS is a festering boil, lance & drain.deraadt1-25/+1
2014-12-08For now, these games still contain deterministic randomization (forderaadt1-3/+2
2014-11-16Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,guenther1-3/+3
2014-09-08obvious cases of missing .An;schwarze1-6/+15
2014-03-11Match bwrite()'s prototype with write()'s, zapping a lint commentguenther16-81/+80
2014-03-11Welcome to 1989: we can ask for signed chars when we want themguenther1-6/+2
2014-03-11lint is dead (long live the lint!)guenther4-22/+4
2014-01-21obvious .Pa fixes; found with mandocdb(8)schwarze1-4/+4
2011-03-16Use the help pager code, but repair it in various ways.deraadt3-6/+9
2010-10-29remove the "-*- nroff -*-" lines;jmc1-3/+3
2009-12-10fix potential bugs spotted by parfaitbeck1-3/+3
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt57-289/+57
2009-06-03remove unused variablechl1-3/+3