summaryrefslogtreecommitdiff
path: root/games/hack/hack.main.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-04-05Fix hack(6).Anthony J. Bentley
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-07Some basic code maintenance in games/tb
2015-12-16Use __progname instead of hand-rolled parsing of argv[0].tb
2015-11-04replace setbuf with setvbuf, from Frederic NowakTed Unangst
2015-09-27Annotate funcs with __attribute__((printf(...))) and clean up the fallout:Philip Guenther
2014-12-08For now, these games still contain deterministic randomization (forTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2005-05-01use setresgid() to drop privs, it is simply a better and less ambiguous API;Damien Miller
2003-07-06convert a bunch of strn{cpy,cat}->strl{cpy,cat}Anil Madhavapeddy
2003-05-19De-register, ANSIfy, clean up.Paul Janzen
2003-05-07Major strings rework. Ok pjanzen@Thierry Deval
2003-04-062451 lines of strdup/sprintf/strcpy whacking. mostly ok'd by pjanzenTheo de Raadt
2003-03-16hack is freeCamiel Dobbelaar
2002-06-23uid_t and gid_t are unsignedTheo de Raadt
2001-01-28$OpenBSD$Niklas Hallqvist
1999-08-16use O_* defines for open(2) flags and include fcntl.hTodd C. Miller
1997-03-28Set umask so save files are writeable by hackThorsten Lockert
1997-01-17r?index -> strr?chrTodd C. Miller
1996-12-22proper gid revokeTheo de Raadt
1996-10-26prefer $LOGNAME over $USER. fix strncpy() usage.Todd C. Miller
1995-10-18initial import of NetBSD treeTheo de Raadt