Commit Briefs
sync imsg-buffer.c
original commit from eric@: change the barrier so that fd's are always passed and received with the first byte of the imsg they belong to. idea, tweaks and ok claudio@
sync recallocarary.c
original commit from claudio@: Type-cast getpagesize() from int to size_t for the comparison with d. getpagesize() will only return positive numbers (there is no negative page size system) and it can not fail. Should fix some compiler warnings seen in -portable projects. OK otto@
const-ify some tables
matches found with % grep -R '=[ ]*{' . | fgrep -v const
get rid of `which` in the configure too
should have been done already in 12fcba2; reminded by Allen Sobot, thanks!
configure: allow to set MANDIR from args
diff by Allen Sobot (chilledfrogs at disroot dot org), thanks!
mention gmid.sysusers in contrib together with gmid.service
related to github issue #14
use shell built-in `command' instead of which(1)
it's specified by POSIX AFAIK and requires less redirections.
add type { ... } block to define mime types mapping
The `map' rule is powerful but quite annoying to use if you have/need lots of entries (and clutters the configuration file too.) The `type' block is blatantly stolen from httpd(8) and allows for a way more nice usage: type { include "/usr/share/misc/mime.types" } or even type { text/markdown md markdown text/x-perl pl pm # ... }