Commits


Fix strftime(3) short buffer checks strftime(3) returns 0 if the buffer was too short to write the complete string (including NUL) and will never return more than maxsize-1. ok stsp


make fclose(3) failure checks consistent; check 'fclose() == EOF' everywhere ok millert, naddy


switch reflist to TAILQ; insert elements more efficiently for sorted input ok naddy


Add a refs argument to got_repo_match_object_id(), replacing 'resolve_tags' Make use of this where possible to avoid re-reading references from disk. ok naddy


repair gotweb build after diff api changes


fix type of filesize output parameter of got_object_blob_dump_to_file()


fix gotweb build; should have been part of 8fa913ec


make gotweb compile with the new diff implementation


remove unused variable in gotweb.c, patch by Martin Vahlensieck (thanks)


indentation fixes


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


skip remote HEAD refs in gotweb's gw_get_commit(); matches got and tog


repair gotweb build; broken since 48cae60d


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