Please sign in to comment.
libc/minimal: fix reproducibility of gmtime
struct tm has fields that were not being set by the implementation, causing the test to fail when the uninitialized values were compared with a static initialized result. Zero the structure before filling it. Closes #17794 Signed-off-by: Peter A. Bigot <firstname.lastname@example.org>
- Loading branch information...
Showing with 6 additions and 1 deletion.