freebsd-dev/lib/libpam/modules/pam_lastlog
Peter Wemm 6ceeb6902a utmp.ut_time and lastlog.ll_time are explicitly int32_t rather than
time_t.  Deal with the possibility that time_t != int32_t.  This boils
down to this sort of thing:
 -   time(&ut.ut_time);
 +   ut.ut_time = time(NULL);
and similar for ctime(3) etc.  I've kept it minimal for the stuff
that may need to be portable (or 3rd party code), but used Matt's time32
stuff for cases where that isn't as much of a concern.

Approved by: re (jhb)
2002-11-15 22:42:00 +00:00
..
Makefile Moved SHLIB_NAME definition into one place. 2002-04-10 18:07:05 +00:00
pam_lastlog.8 Add a no_fail option. 2002-05-08 00:31:45 +00:00
pam_lastlog.c utmp.ut_time and lastlog.ll_time are explicitly int32_t rather than 2002-11-15 22:42:00 +00:00