From a3129e54ee09d5968b62a896717aaa7092cafeee Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 20 Mar 2014 18:39:12 -0700 Subject: [PATCH] * tzfile.h (TZ_MAX_TIMES), NEWS: Increase from 1200 to 2000. This lets localtime handle Troll station. Hack suggested by Zefram. --- NEWS | 9 ++++----- tzfile.h | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/NEWS b/NEWS index 351058d..7924e3a 100644 --- a/NEWS +++ b/NEWS @@ -8,12 +8,11 @@ Unreleased, experimental changes Crimea switches to Moscow time on 2014-03-30 at 02:00 local time. (Thanks to Alexander Krivenyshev.) Move its zone.tab entry from UA to RU. - Changes affecting 'zic' + Changes affecting code - 'zic' no longer rejects locations needing four transitions per - year for the forseeable future, such as Troll station, Antarctica. - (Thanks to Andrew Main (Zefram).) Also, it avoids some unlikely - failures due to integer overflow. + 'zic' and 'localtime' no longer reject locations needing four transitions + per year for the forseeable future. (Thanks to Andrew Main (Zefram).) + Also, 'zic' avoids some unlikely failures due to integer overflow. Changes affecting commentary and documentation diff --git a/tzfile.h b/tzfile.h index 529650d..911130e 100644 --- a/tzfile.h +++ b/tzfile.h @@ -97,7 +97,7 @@ struct tzhead { */ #ifndef TZ_MAX_TIMES -#define TZ_MAX_TIMES 1200 +#define TZ_MAX_TIMES 2000 #endif /* !defined TZ_MAX_TIMES */ #ifndef TZ_MAX_TYPES