summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-06-25 20:56:40 +0000
committerimp <imp@FreeBSD.org>2003-06-25 20:56:40 +0000
commit27d211ac0c5f9c213f9253aa67ea882d09518b0e (patch)
treeaad752a46243b0119d04221862b3a35c63110f06 /lib/libc/stdlib
parentbf27dce79bb1d92b4f410f062ba6daf5c51c50d3 (diff)
downloadFreeBSD-src-27d211ac0c5f9c213f9253aa67ea882d09518b0e.zip
FreeBSD-src-27d211ac0c5f9c213f9253aa67ea882d09518b0e.tar.gz
During a positive leap second, the tai_time offset should be
incremented at the start of the leap second, not after the leap second has been inserted. This is because at the start of the leap second, we set the time back one second. This setting back one second is the moment that the offset changes. The old code set it back after the leap second, but that's one second too late. The negative leap second case is handled correctly. Reviewed by: phk
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud