HomeFreeBSD

logger(1): MFC: fix timestamps in case of long run

Description

logger(1): MFC: fix timestamps in case of long run

An example:

( echo test; sleep 2; echo test2 ) | logger -h /var/run/log

Before fix, logger assigned same timestamp to both records.

Fixes: 65547fb33db901a9f352aacb0ed45ce68b0bd275
Reported by: Vadim Goncharov

(cherry picked from commit 83fd35b3f3fa580d2b99874abd1f67ee61dcb659)

Details

Provenance
eugen_grosbein.netAuthored on Apr 27 2023, 4:43 PM
Parents
rG8cf8bbfef509: ifconfig.8: Document limitation of groupname
Branches
Unknown
Tags
Unknown