CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2013/04/17 13:26:10

Modified files:
        usr.sbin/dhcpd : db.c dhcpd.h parse.c 

Log message:
Replace hand-rolled date printing/parsing code with strftime()/strptime().
Use timegm() because all the dates are in UTC and the 'standard'
routines can't handle the truth.

Remove some 'time_t is 32bits' assumptions.

Print 'UTC' at the end of dates in the leases file, rather than
mentioning that all dates are UTC in a comment at the top of the
file.

Feedback and suggestions from guenther@, kettenis@, otto@, tedu@,
deraadt@.

Reply via email to