utmp 64 bit time_t support

Andreas Schwab schwab@linux-m68k.org
Fri Aug 4 07:28:36 GMT 2023


On Aug 04 2023, Paul Eggert wrote:

> Obviously this Gnulib hack won't work after the year 2038,

It could just re-interpret the timestamp field as an unsigned number.
The utmp databases most likely only contain data for a few years at
most, and timestamps from before the epoch are certainly non-existing.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Libc-alpha mailing list