summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/strfmon.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-11-15 22:42:00 +0000
committerpeter <peter@FreeBSD.org>2002-11-15 22:42:00 +0000
commit97526c738c4cd08d52cb022605460e34b2f0b80f (patch)
tree414badc6420598c8e62302e330f16ee827afd3eb /lib/libc/stdlib/strfmon.c
parentc841be9bcbd974616aaa3b10b66a62d927ea1f88 (diff)
downloadFreeBSD-src-97526c738c4cd08d52cb022605460e34b2f0b80f.zip
FreeBSD-src-97526c738c4cd08d52cb022605460e34b2f0b80f.tar.gz
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)
Diffstat (limited to 'lib/libc/stdlib/strfmon.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud