Commit Briefs

09e05ed50d Thomas Adam

portable: regress: imply compat

When building tests, compat needs to be built. Do this prior to running any tests. This ensures tests can be run from a clean tree. Furthermore, add got_compat.h to all test headers. This wasn't necessary before as this was implicitly being included, but now isn't.


21c2d8be42 Thomas Adam

got: minor refactor of got_pathlist_free() API

Accept flag parameter to optionally specify which pointers to free. This saves callers looping through the list to free pointers. ok + fix stsp@



8b925c6ccd Thomas Adam

portable: add back sys/queue.h

Now that the handling of including sys/queue.h is better, there's no need to remove those lines from the source. Copy the location of those original sys/queue.h lines from upstream at the same line number, so as to avoid any conflicts in the future.


0c6f49baf2 Thomas Adam

build with -Wwrite-strings

Throwing this into the mix for a while, we can always get rid of it again if it becomes annoying. No objections from stsp@


ef20f54204 Thomas Adam

build with -Wmissing-prototypes

ok stsp@


fa8129f71e Thomas Adam

const-ify tables

ok thomas_adam millert


dd038bc6ec Thomas Adam

portable: initial Linux compilation

This commit modifies the GoT main branch to be able to compile it under linux.




6059809a13 Stefan Sperling

use size_t for loop indices to avoid signedness warnings; by emaste@freebsd

Same change as 16aeacf7088d, for subdirectories other than lib/


7fb414ae4d Stefan Sperling

add a -q option to tests for quiet output and use it for 'make regress'

Previous default output remains when test cases are run individually. ok tracey


d572f5860a Stefan Sperling

eliminate strlen() calls during fileindex rb tree searches


324d37e7c7 Stefan Sperling

make got path APIs available to library consumers


3d8df59c13 Stefan Sperling

add a caller-provided data pointer to path list elements



e08cc72dc0 Stefan Sperling

add a pathlist API


5d56da8198 Stefan Sperling

happy new copyright year


1beed9999f Stefan Sperling

rename got_compare_paths to got_path_cmp


1c11b35cd6 Stefan Sperling

add a test for got_compare_paths()