CVSROOT: /cvs Module name: src Changes by: [email protected] 2025/09/15 12:51:22
Modified files:
usr.bin/newsyslog: newsyslog.c
Log message:
newsyslog: use localtime_r(3) with error handling
Replace localtime(3) with localtime_r(3) to avoid editing of struct tm
in libc. While here do correct error handling of the return value.
suggested by bluhm
ok bluhm
