Red Hat Bugzilla – Bug 109648
PATCH: lastlog assumes ll_time in struct lastlog is time_t
Last modified: 2007-11-30 17:06:59 EST
In lastlog.c, there is
tm = localtime (&lastlog.ll_time);
it assumes ll_time is time_t. But in <bits/utmp.h>, there are
#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32
Created attachment 95881 [details]
A patch to fix lastlog
Patch looks reasonable from here.
An errata has been issued which should help the problem described in this bug report.
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen
this bug report if the solution does not work for you.