CVSROOT: /cvs Module name: src Changes by: [email protected] 2020/04/02 10:57:45
Modified files:
usr.bin/dig/lib/dns: dns_time.c
usr.bin/dig/lib/dns/include/dns: time.h
Log message:
Replace a bunch of hand rolled date / time math with gmtime(3).
While here fix dns_time64_from32() to correctly deal with unsigned 32
bit cyclic time that I accidentally broke when I switched "now" from
isc_std_time (unsiged 32 bit) to time_t (64 bit).
input kettenis, millert, otto, cheloha
OK cheloha
