summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.pager.c
AgeCommit message (Expand)AuthorFilesLines
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-2/+2
2016-03-15execl(3) calls must have the last argument casted to (char *)NULLmestre1-4/+4
2016-01-09Remove several casts to (char *) 0 and replace them by NULLmestre1-5/+5
2016-01-09This diff is rather large, but it's just simply removing unnecessary headersmestre1-13/+14
2015-09-27Annotate funcs with __attribute__((printf(...))) and clean up the fallout:guenther1-3/+3
2014-03-11Match bwrite()'s prototype with write()'s, zapping a lint commentguenther1-2/+2
2011-03-16Use the help pager code, but repair it in various ways.deraadt1-4/+5
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-5/+1
2009-06-03remove unused variablechl1-3/+3
2009-06-01Fix fgets handling.ray1-8/+11
2009-06-01Style, inspired by NetBSD.ray1-24/+25
2007-09-14remove some warnings:chl1-4/+5
2007-09-11use strcspn to properly overwrite '\n' in fgets returned buffergilles1-7/+4
2007-02-21- Pass full buffer size to fgets.ray1-4/+4
2005-05-01use setresgid() to drop privs, it is simply a better and less ambiguous API;djm1-5/+6
2003-05-19De-register, ANSIfy, clean up.pjanzen1-61/+56
2003-05-07Major strings rework. Ok pjanzen@tdeval1-3/+3
2003-03-16hack is freecamield1-3/+60
2001-08-06Nothing but comments after #endif and #else; heko@iki.fipjanzen1-11/+11
2001-01-28$OpenBSD$niklas1-1/+3
2000-08-02$HOME paranoia: never use getenv("HOME") w/o checking for NULL and non-zeromillert1-1/+5
1999-08-16use O_* defines for open(2) flags and include fcntl.hmillert1-1/+1
1997-01-17r?index -> strr?chrmillert1-4/+4
1996-12-22proper gid revokederaadt1-2/+3
1995-10-18initial import of NetBSD treederaadt1-0/+412