]> Savannah Git Hosting - gnulib.git/commit
readutmp: anticipate Y2038 hack for utmp
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 5 Aug 2023 18:16:12 +0000 (11:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 5 Aug 2023 18:18:22 +0000 (11:18 -0700)
commit0a7a71a4f24b4608662b4532bd17aef758f049fd
treedf3b7deb2c1f82d7c5554eaa7c48581c1f615874
parent91f94f3076fc1dbb952e183e6c405c483e2790ce
readutmp: anticipate Y2038 hack for utmp

* lib/readutmp.c (struct utmpx32): Use unsigned int for tv_sec,
not int, as that is more likely to work after 2038.
Suggested by Andreas Schwab in:
https://sourceware.org/pipermail/libc-alpha/2023-August/150661.html
ChangeLog
lib/readutmp.c