]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/, src/: Call gmtime_r(3) instead of gmtime(3)
authorAlejandro Colomar <alx@kernel.org>
Mon, 29 Jan 2024 14:53:34 +0000 (15:53 +0100)
committerSerge Hallyn <serge@hallyn.com>
Thu, 14 Mar 2024 21:30:46 +0000 (16:30 -0500)
commitbed18501b1a198a4c5cb177a4cff8685e5a81abf
treee8cb320accf465006c09297e6abfc5bc02e89fb5
parent8fcf6cccff64cf270b8d4596dca3e6fd763f846c
lib/, src/: Call gmtime_r(3) instead of gmtime(3)

It's trivial to do the change, and it removes a CodeQL warning.
We don't need to be reentrant, but it doesn't hurt either.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/time/day_to_str.h
src/chage.c