summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.main.c
AgeCommit message (Expand)AuthorFilesLines
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-4/+4
2019-04-05Fix hack(6).bentley1-2/+14
2016-01-09Remove several casts to (char *) 0 and replace them by NULLmestre1-2/+2
2016-01-09This diff is rather large, but it's just simply removing unnecessary headersmestre1-6/+6
2016-01-07Some basic code maintenance in games/tb1-2/+2
2015-12-16Use __progname instead of hand-rolled parsing of argv[0].tb1-4/+3
2015-11-04replace setbuf with setvbuf, from Frederic Nowaktedu1-2/+2
2015-09-27Annotate funcs with __attribute__((printf(...))) and clean up the fallout:guenther1-4/+4
2014-12-08For now, these games still contain deterministic randomization (forderaadt1-3/+2
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-5/+1
2005-05-01use setresgid() to drop privs, it is simply a better and less ambiguous API;djm1-5/+6
2003-07-06convert a bunch of strn{cpy,cat}->strl{cpy,cat}avsm1-15/+8
2003-05-19De-register, ANSIfy, clean up.pjanzen1-38/+44
2003-05-07Major strings rework. Ok pjanzen@tdeval1-8/+8
2003-04-062451 lines of strdup/sprintf/strcpy whacking. mostly ok'd by pjanzenderaadt1-4/+4
2003-03-16hack is freecamield1-3/+60
2002-06-23uid_t and gid_t are unsignedderaadt1-3/+3
2001-01-28$OpenBSD$niklas1-1/+3
1999-08-16use O_* defines for open(2) flags and include fcntl.hmillert1-2/+2
1997-03-28Set umask so save files are writeable by hacktholo1-0/+1
1997-01-17r?index -> strr?chrmillert1-1/+1
1996-12-22proper gid revokederaadt1-2/+3
1996-10-26prefer $LOGNAME over $USER. fix strncpy() usage.millert1-5/+10
1995-10-18initial import of NetBSD treederaadt1-0/+504