On Wed, Apr 05, 2017 at 08:18:03AM -0600, Todd C. Miller wrote: > On Wed, 05 Apr 2017 13:58:12 +0200, Alexander Bluhm wrote: > > Replace all combinations of logerror() and die() with log.c fatal(). > > Also all err(3) after log_init() are replaced. > > This is before we start accepting log messages so no need to call die().
Syslogd's fatal() calls die() internally, so there is no change in behavior. The idea is that you may call fatal() anywhere and die() will do cleanup if necessary. But you are right, calls to fatal() have been reduced to a few early locations. So this cleanup is never necessary. bluhm
