Commit Briefs

593066b4a1 Stefan Sperling

gotwebd: plug a memory leak which would trigger via pagination of commits (main)

ok op@


8ec2386c77 Stefan Sperling

replace bcopy() with memmove() for standards compliance



5cc5943c62 Stefan Sperling

fix whitespace


d953fe98f7 Stefan Sperling

ensure that config privsep children are collected in error cases

The lack of waitpid calls for these children in error cases might be why I saw quite a few got-read-gotconfig zombie processes created by gotwebd on my repository mirror. ok jamsek


5556994843 Christian Weisgerber

fix pointer indirection level

ok tb@


d2752c6279 Stefan Sperling

indentation fix




fa5296f92f Stefan Sperling

check for root privs in the main regress target

Otherwise we would build some things and then get stuck in su(1).


ed8952fbfc Stefan Sperling

make gotwebd regress suite compatible with 'make obj'



19a5ceed4e Mark Jamsek

gotwebd: commits action regress test case


2488ea743d Mark Jamsek

gotwebd: rename action_index test to action_summary


2ba97f6819 Mark Jamsek

gotwebd: rename action_commit test to action_diff


9b9d6a77d4 Mark Jamsek

gotwebd: basic patch action regress test case




661ead274d Mark Jamsek

briefly document the gotwebd test suite; ok stsp@


9ac925e0c6 Omar Polo

gotwebd: bubble up null dir check; ok jamsek


73675c3a67 Mark Jamsek

implement gotwebd test harness

Only a couple basic regress tests so far for the index/summary and diff pages. Documentation is still needed. ok stsp@


f03e60a991 Mark Jamsek

gotwebd: fix UB when path param is not in query

Don't pass NULL as a *printf(3) %s conversion specifier argument. If the path parameter is not defined, return repo not found error. ok stsp@


125ca675f0 Mark Jamsek

discern mixed-commit worktree diffs with commit header

Instead of emitting the work tree's base commit in the diff's topmost header, which is misleading in mixed-commit work trees, emit each file's base commit in its diff header. Suggested by stsp and discussed with op and stsp on IRC. ok stsp@