Skip Menu |

Subject: SVN Commit

Use timegm() if it is available, so that krb5int_gmt_mktime()
functions correctly on systems configured with a "right"
(leap-second-aware) time zone. It is arguably an OS bug if a "right"
time zone can be configured on a system that lacks timegm().

Due to a current lack of evidence of affected systems, the additional
workaround of replacing gmtime() with a version that always ignores
leap seconds is deferred.
Commit By: tlyu
Revision: 25018
Changed Files:
U trunk/src/
U trunk/src/util/support/gmt_mktime.c