Hi,
On Wed, 2021-12-01 at 08:26 -0500, Frank Ch. Eigler wrote:
> Since we are multi-threaded using gmtime might cause a data race
> > because gmtime reuses a global struct to write data into. Make
> > sure that each thread uses their own struct tm and use gmtime_r
> > instead.
>
> (thanks, lgtm)
Since we are multi-threaded using gmtime might cause a data race
because gmtime reuses a global struct to write data into. Make
sure that each thread uses their own struct tm and use gmtime_r
instead.
Signed-off-by: Mark Wielaard
---
debuginfod/ChangeLog | 5 +
debuginfod/debuginfod.cx