Commit Briefs

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.


Thomas Adam

build with -Wmissing-prototypes

ok stsp@


Thomas Adam

inline struct got_object_id in struct got_object_qid

Saves us from doing a malloc/free call for every item on the list. ok op@


Thomas Adam

wrap overlong lines


Thomas Adam

Revert "cache raw objects in order to speed up gotadmin pack"

This reverts commit c565dfd37a157bab9556aceac96ff27d64525fc9.



Thomas Adam

portable: update to handle bloom, etc

Update portable to support changes for bloom, etc.



Thomas Adam

portable: add FreeBSD support

This adds the capability to compile got-portable on FreeBSD.


Thomas Adam

portable: initial Linux compilation

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


Christian Weisgerber

switch from SIMPLEQ to equivalent STAILQ macros

The singly-linked tail queue macros were added to OpenBSD 6.9 and are more widely available on other systems. ok stsp






Stefan Sperling

fix build on OpenBSD/sparc64 (gcc)


Stefan Sperling

don't leak objects which can't be cached



Stefan Sperling

don't cache objects larger than 1MB


Stefan Sperling

fix build with -DGOT_OBJ_CACHE_DEBUG



joshua stein

got_error_from_errno -> got_error_prefix_errno

also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)