Commits


switch to the more usual log.c


use memchr instead of rolling a custom one


rename log.[ch] to logger.[ch]


predeclare struct client


rename PROC_MAX to PREFORK_MAX


nitpick: fix snprintf check


adjust comments


move config-related code to config.c reuse it in ge too.


call setlocale()


remove unused define


move and dedup the tls initalization in server.c


fix off-by-one in recent fatal change


revert aae8f6bf2b it's just not worth it to inflict this breaking change to the users.


+log.h


provide a more usual fatal fatal usually appends the error string. Add 'fatalx' that doesn't. Fix callers and move the prototypes to log.h