skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit e1dd693e2ac3c0fb1d42ea0e664021b4672465e6
parent 43dfdceef9f5eb75e8f3a50eb19ac9129f11b34e
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Sun, 17 Jul 2016 19:23:32 +0000

 add new leap second: 2016-12-31 23:59:60 UTC

Diffstat:
Mpackage/deps.mak | 2+-
Msrc/libstddjb/leapsecs_table.c | 7++++---
Mtools/leapsecs.txt | 1+
3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/package/deps.mak b/package/deps.mak @@ -664,7 +664,7 @@ src/libstddjb/timestamp_scan.o src/libstddjb/timestamp_scan.lo: src/libstddjb/ti src/libstddjb/timeval_from_tain.o src/libstddjb/timeval_from_tain.lo: src/libstddjb/timeval_from_tain.c src/include/skalibs/tai.h src/libstddjb/timeval_from_tain_relative.o src/libstddjb/timeval_from_tain_relative.lo: src/libstddjb/timeval_from_tain_relative.c src/include/skalibs/tai.h src/libstddjb/timeval_sysclock_from_tain.o src/libstddjb/timeval_sysclock_from_tain.lo: src/libstddjb/timeval_sysclock_from_tain.c src/include/skalibs/tai.h -src/libstddjb/touch.o src/libstddjb/touch.lo: src/libstddjb/touch.c src/include/skalibs/djbunix.h src/include/skalibs/sysdeps.h +src/libstddjb/touch.o src/libstddjb/touch.lo: src/libstddjb/touch.c src/include/skalibs/djbunix.h src/include/skalibs/nonposix.h src/include/skalibs/sysdeps.h src/libstddjb/ucharn_findlen.o src/libstddjb/ucharn_findlen.lo: src/libstddjb/ucharn_findlen.c src/include/skalibs/fmtscan.h src/libstddjb/ucharn_fmt.o src/libstddjb/ucharn_fmt.lo: src/libstddjb/ucharn_fmt.c src/include/skalibs/fmtscan.h src/libstddjb/ucharn_fmt_little.o src/libstddjb/ucharn_fmt_little.lo: src/libstddjb/ucharn_fmt_little.c src/include/skalibs/fmtscan.h diff --git a/src/libstddjb/leapsecs_table.c b/src/libstddjb/leapsecs_table.c @@ -6,8 +6,8 @@ #include <skalibs/tai.h> #include "djbtime-internal.h" -unsigned int const leapsecs_table_len = 26 ; -static uint64 const leapsecs_table_[26] = +unsigned int const leapsecs_table_len = 27 ; +static uint64 const leapsecs_table_[27] = { TAI_MAGIC + 78796809, TAI_MAGIC + 94694410, @@ -34,6 +34,7 @@ static uint64 const leapsecs_table_[26] = TAI_MAGIC + 1136073631, TAI_MAGIC + 1230768032, TAI_MAGIC + 1341100833, - TAI_MAGIC + 1435708834 + TAI_MAGIC + 1435708834, + TAI_MAGIC + 1483228835 } ; uint64 const *const leapsecs_table = leapsecs_table_ ; diff --git a/tools/leapsecs.txt b/tools/leapsecs.txt @@ -27,3 +27,4 @@ +2008-12-31 +2012-06-30 +2015-06-30 ++2016-12-31