Hash :
c408d9a5
Author :
Date :
2023-07-29T17:06:42
readutmp: work around glibc utmpx bug When compiled with _TIME_BITS=64, glibc <utmpx.h> does not work, because the files use 32-bit time_t and the code passes this to the user unmodified, but <utmpx.h> defines a struct with 64-bit time_t. Work around this compatibility bug. Problem reported by Jakub Wilk via Sven Joachim <https://bugs.gnu.org/64937>. * lib/readutmp.c (copy_utmp_entry): New function. (read_utmp): Use it.
Please create and read the docs with $ cd doc $ make gnulib.html $ xdg-open gnulib.html or read the online manual at https://www.gnu.org/software/gnulib/manual/gnulib.html