Commit Briefs


Omar Polo

add compat for explicit_bzero

Looking at the build failure for the nix package on darwin I noticed that explicit_bzero is used by recallocarray but not included in the compat layer...


Omar Polo

wrap unfreeze in ifdef

instead of defining macros in compat.h. It's clearer that it's only for libevent2 this way


Omar Polo

fix bufferevent tls I/O on libevent2

on libevent2 we need to wrap evbuffer_add with evbuffer_freeze/evbuffer_unfreeze. Not sure exactly why, probably because we're doing some evbuffer_enable/disable/enable-again. Retain compatibility with the custom libevent1 in base on OpenBSD.



Omar Polo

"humanize" byte progress

i.e. trasform XYZ bytes to something readable


Omar Polo

add compat for strsep


Omar Polo

fixed strtonum prototype

found by cage_: thanks!



Omar Polo

added compat for ohash


Omar Polo

add compat for memmem(3)


Omar Polo

fix compat layer build