From a3c830a8393c8e060dd71f4ae4d97324bdc35a9b Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Mon, 9 Feb 2009 20:30:11 +0100 Subject: [PATCH] zoneinfo & zic(8): Sync with tzcode2009b & tzdata2009b from elsie. * zic.c: Fix fencepost error. * leapseconds: Updated to reflect no mid-2009 leap second. --- share/zoneinfo/leapseconds | 36 ++++++++++++++---------------------- usr.sbin/zic/zic.c | 4 ++-- 2 files changed, 16 insertions(+), 24 deletions(-) diff --git a/share/zoneinfo/leapseconds b/share/zoneinfo/leapseconds index a2f4f0be37..e3f776b337 100644 --- a/share/zoneinfo/leapseconds +++ b/share/zoneinfo/leapseconds @@ -1,4 +1,4 @@ -# @(#)leapseconds 8.6 +# @(#)leapseconds 8.7 # Allowance for leapseconds added to each timezone file. @@ -53,40 +53,32 @@ Leap 2008 Dec 31 23:59:60 + S # SERVICE DE LA ROTATION TERRESTRE # OBSERVATOIRE DE PARIS # 61, Av. de l'Observatoire 75014 PARIS (France) -# Tel. : 33 (0) 1 40 51 22 26 +# Tel. : 33 (0) 1 40 51 22 29 # FAX : 33 (0) 1 40 51 22 91 -# e-mail : services.iers@obspm.fr -# http://hpiers.obspm.fr/eop-pc +# Internet : services.iers@obspm.fr # -# Paris, 4 July 2008 +# Paris, 15 January 2009 # -# Bulletin C 36 +# Bulletin C 37 # # To authorities responsible # for the measurement and # distribution of time # -# UTC TIME STEP -# on the 1st of January 2009 +# INFORMATION ON UTC - TAI # -# A positive leap second will be introduced at the end of December 2008. -# The sequence of dates of the UTC second markers will be: +# NO positive leap second will be introduced at the end of June 2009. +# The difference between Coordinated Universal Time UTC and the +# International Atomic Time TAI is : # -# 2008 December 31, 23h 59m 59s -# 2008 December 31, 23h 59m 60s -# 2009 January 1, 0h 0m 0s -# -# The difference between UTC and the International Atomic Time TAI is: -# -# from 2006 January 1, 0h UTC, to 2009 January 1 0h UTC : UTC-TAI = - 33s -# from 2009 January 1, 0h UTC, until further notice : UTC-TAI = - 34s +# from 2009 January 1, 0h UTC, until further notice : UTC-TAI = -34 s # # Leap seconds can be introduced in UTC at the end of the months of December -# or June, depending on the evolution of UT1-TAI. Bulletin C is mailed every -# six months, either to announce a time step in UTC or to confirm that there +# or June, depending on the evolution of UT1-TAI. Bulletin C is mailed every +# six months, either to announce a time step in UTC, or to confirm that there # will be no time step at the next possible date. # # Daniel GAMBIS -# Head -# Earth Orientation Center of IERS +# Head +# Earth Orientation Center of the IERS # Observatoire de Paris, France diff --git a/usr.sbin/zic/zic.c b/usr.sbin/zic/zic.c index eb1c51e978..855758ca0f 100644 --- a/usr.sbin/zic/zic.c +++ b/usr.sbin/zic/zic.c @@ -2,7 +2,7 @@ ** This file is in the public domain, so clarified as of ** 2006-07-17 by Arthur David Olson. ** -** @(#)zic.c 8.17 +** @(#)zic.c 8.19 ** $FreeBSD: src/usr.sbin/zic/zic.c,v 1.11 1999/08/28 01:21:20 peter Exp $ ** $DragonFly: src/usr.sbin/zic/zic.c,v 1.7 2008/10/19 20:15:58 swildner Exp $ */ @@ -1876,7 +1876,7 @@ outzone(const struct zone * const zpfirst, const int zonecount) min_year = max_year = EPOCH_YEAR; if (leapseen) { updateminmax(leapminyear); - updateminmax(leapmaxyear); + updateminmax(leapmaxyear + (leapmaxyear < INT_MAX)); } for (i = 0; i < zonecount; ++i) { zp = &zpfirst[i]; -- 2.11.4.GIT