When writing a message, syslogd did a combination of putting
authorbluhm <bluhm@openbsd.org>
Fri, 10 Sep 2021 15:18:36 +0000 (15:18 +0000)
committerbluhm <bluhm@openbsd.org>
Fri, 10 Sep 2021 15:18:36 +0000 (15:18 +0000)
commit39a8af495d84aedbb87d660156ae5e933c1d1163
tree8f58942896da4fb727ff1f197692a7fffc900ebe
parentf6dfe18d4c6158c1557de223ae3fb19173c94c88
When writing a message, syslogd did a combination of putting
everything into an iov and do some sprintf() formating later.  Better
put everything into the iov upfront based on what the output methods
need.  Then either the full iov is written or a line is created by
concatenating.
OK martijn@
usr.sbin/syslogd/syslogd.c
usr.sbin/syslogd/syslogd.h