freebsd-skq/usr.bin/who
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
who.1 Refer to environ(7) for description of COLUMNS. Note the effects of LANG, 2002-06-07 00:50:22 +00:00
who.c utmp.ut_time and lastlog.ll_time are explicitly int32_t rather than 2002-11-15 22:42:00 +00:00