master
hack is free
Feed more generated files to the clean target; joint work with naddy@
Fix a path in Makequest and remove hack.sh (it never worked).
double words and spelling fixes ok pjanzen@
This diff is rather large, but it's just simply removing unnecessary headers , remove some lint-style comments, add missing void to functions without args, also some function prototypes (extern) were missing their args, so I added them as they were defined in hack.h
Fix hack(6).
Add a tab to blank line so hack(6) knows to print a blank line rather than ending there.
De-register, ANSIfy, clean up.
Avoid gendered language in man pages when not referring to a specific person. Rewrite or use singular they.
Remove several casts to (char *) 0 and replace them by NULL
drop `uptodate()' check from hack(6)
remove uneeded function decls ok tb@
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
snprintf() format string should be literal avoid compiler silly warnings
occured->occurred; from NetBSD via Mike Pechkin <mpech@prosoft.org.lv>. One of these was even in a string that got printed out.
remove prototypes with no matching function and externs with no var partly checked by millert@
Fix build with -fno-common. OK deraadt@
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
Prefer fseek(3) over rewind(3) since the latter although it also calls fseek then additionally it calls clearerr(3) deliberately but we want to catch any error that may happen and this way we couldn't catch it
Fix intercardinal directions in hack help.
Disable !-command to escape to a shell. You are supposed to play, press ^Z, or open up another terminal if there is something else to do.
Use the help pager code, but repair it in various ways. (I had to fix the $PAGER support beyond the patch supplied by Simon) from Simon.Nicolussi@student.uibk.ac.at
spelling error, fixed by "snj", 21 years ago in some other repository