]> granicus.if.org Git - procps-ng/commit
ps: Make STIME entries thread safe
authorCraig Small <csmall@dropbear.xyz>
Thu, 30 Jun 2022 11:15:37 +0000 (21:15 +1000)
committerCraig Small <csmall@dropbear.xyz>
Thu, 30 Jun 2022 11:15:37 +0000 (21:15 +1000)
commitbcce3e440a1e1ee130c7371251a39c031519336a
treed1d8fffe364b471f39b2f43bd0965e93a7e4fe22
parentb0adacf1ea817502f65046058690f731646b7e94
ps: Make STIME entries thread safe

Using localtime() can be a problem due to the static buffer for
the return value. It's simple enough to use localtime_r()

Signed-off-by: Craig Small <csmall@dropbear.xyz>
ps/output.c