Follow-up Comment #12, bug #62110 (project wget): IMO, the problem is that the code uses a time_t variable and uses sscanf SCNd64. That means that time_t *must* be a 64bit integer (signed or unsigned doesn't matter), which is of course not always true.
C99/C11 does not define a format specifier for time_t. There are several ways to address this, but using SCNd64 is not among them. In Wget2 we use uint64_t instead of time_t after getting complaints from user previously. We failed to backport this properly to Wget 1.x, sorry for that. We should fix these issues once and forever (there might be more code that needs to be amended beyond hsts.c). _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?62110> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/