Commit Briefs

Omar Polo

pidfile support with `-P pidfile'


Omar Polo

wait for logger after fatal()

With -f, when the main process exits after a fatal() (usually) the shell prompt is printed before the logger message. This adds a small poll to wait for the logger process to exit.


Omar Polo

fix some logging

- we can't use log_* or fatal() before logger_init - err -> errx if errno isn't involved


Omar Polo

fatal: send log to logger




Omar Polo

lower log priority for fatal errors from CRIT to ERR

found by Anna, thanks!



Omar Polo

typo


Omar Polo

typo


Omar Polo

add compat for reallocarray


Omar Polo

use memcpy instead of bcopy

memcpy is ANSI C89, bcopy seems to be an history BSD function.



Omar Polo

don't save the directory fd in c->pfd

scandir_fd already calls closedir, which in turns closes the fd