Commits


build with -Wmissing-prototypes ok stsp@


add "e" (close-on-exec) flag to fopen(3) calls suggested by millert ok thomas_adam


sync with OpenBSD parse.y Explicitly cast "char" to "unsigned char" when assigned to "int" to prevent sign extension from breaking comparions against EOF or passing invalid arguments to ctype functions.


pull in a type fix from the OpenBSD parse.y template Original commit message by deraadt: (unsigned) means (unsigned int) which on ptrdiff_t or size_t or other larger types really is a range reduction... Almost any cast to (unsigned) is a bug.


fix unsigned/signed char mismatch in parse.y


remove superfluous strdup(3) from parse.y files; Patch by Martin Vahlensieck


fix on keywork in gotweb parse.y, patch by Martin Vahlensieck (thanks)


remove unused #includes


restore code removed in b5f0780096f443734de8fc503ca92bf737e2a7b2 and complete code so sub directories work in gotweb This was pointed out by uwerler in IRC. ok stsp


add got.conf(5) configuration file ok tracey


plug some parse.y leaks


move gw_conf malloc to parse.y and cleanup another one-line set/check fix rash pointer change in last edit


restructure gotweb parse.y to be like the new got parse.y correct a lot of incorrect error handling adjust copyrights


remove got_www_path which is not actually used


remove examples file