LGTM pointed out localtime() and ctime() are not thread-safe, and additionally ctime() is considered obsolete since POSIX.1-2008. Replace with localtime_r() and strftime() instead.
Long broken --prtpkts debug switch is fixed in a separate commit to have means of testing the strftime() change. You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/921 -- Commit Summary -- * Resurrect --prtpkts debug switch functionality * Replace uses of localtime() with the re-entrant variant * Replace use of obsolete ctime() with strftime() -- File Changes -- M configure.ac (2) M lib/formats.c (6) M lib/query.c (4) M lib/rpmchecksig.c (2) M rpmio/rpmkeyring.c (6) M rpmio/rpmpgp.c (5) -- Patch Links -- https://github.com/rpm-software-management/rpm/pull/921.patch https://github.com/rpm-software-management/rpm/pull/921.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/921
_______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint