Date: Fri, 15 Nov 2002 14:42:00 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libpam/modules/pam_lastlog pam_lastlog.c src/usr.bin/who who.c src/usr.sbin/ppp physical.c src/usr.sbin/pppd auth.c Message-ID: <200211152242.gAFMg0w1049828@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2002/11/15 14:42:00 PST Modified files: lib/libpam/modules/pam_lastlog pam_lastlog.c usr.bin/who who.c usr.sbin/ppp physical.c usr.sbin/pppd auth.c Log: 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) Revision Changes Path 1.17 +6 -4 src/lib/libpam/modules/pam_lastlog/pam_lastlog.c 1.18 +5 -3 src/usr.bin/who/who.c 1.54 +1 -1 src/usr.sbin/ppp/physical.c 1.27 +1 -1 src/usr.sbin/pppd/auth.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211152242.gAFMg0w1049828>