summaryrefslogtreecommitdiff
path: root/games/hangman/getword.c
AgeCommit message (Collapse)Author
2006-10-24Check strlen(buf) to be > 0 before accessing buf[strlen(buf)-1].Moritz Jodeit
OK ray@ cloder@
2004-11-29ansi. ok deraadt@Jonathan Gray
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
1999-09-25Merge NetBSD changes (use const where appropriate; allow alternate wordlists).Paul Janzen
Add some code beyond that so the game doesn't hang if it gets a badly formatted alternate wordlist.
1998-08-19tags, formatting, ANSI-fication, prototypes, de-typos, and the occasionalPaul Janzen
initialization, removal of unused variable, or other minor fix. Most changes are from or inspired by NetBSD.
1995-10-18initial import of NetBSD treeTheo de Raadt