Inconsistancy between mktime and system time accross leapsecond

M. Warner Losh imp at bsdimp.com
Sat Aug 6 06:34:19 GMT 2005


In message: <20050806.001620.82098789.imp at bsdimp.com>
            "M. Warner Losh" <imp at bsdimp.com> writes:
: Comments on the following patch?

A common practice is to add tm_sec += 20 to get the time 20 seconds in
the future.  This patch breaks that for non-leap seconds.  I'll update
the patch to fix that properly.

Warner


More information about the freebsd-standards mailing list