mailing list of musl libc
 help / color / mirror / code / Atom feed
* Use local time in syslog() function
@ 2019-01-14  9:23 Michael Kaufmann
  2019-01-14 16:25 ` Rich Felker
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Kaufmann @ 2019-01-14  9:23 UTC (permalink / raw)
  To: musl

Hi,

I have found a bug in the implementation of syslog(). It should use  
the local time instead of UTC when sending the message to /dev/log. So  
in src/misc/syslog.c, the call to gmtime_r() should be replaced with  
localtime_r().

Regards,
Michael



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-01-15  4:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-14  9:23 Use local time in syslog() function Michael Kaufmann
2019-01-14 16:25 ` Rich Felker
2019-01-14 19:53   ` Michael Kaufmann
2019-01-14 20:27     ` Rich Felker
2019-01-14 23:02       ` Szabolcs Nagy
2019-01-15  4:12         ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).