mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2026-05-06 12:56:49 +00:00
Remove TZ_MAX_TIMES restriction in zic.c.
This lets zic handle the time rules of Troll station, Antarctica. Adapted from a fix by Zefram in: http://mm.icann.org/pipermail/tz/2014-March/020759.html * zic.c (timecnt_alloc): New static var. (attypes): Now a pointer to an array, not a fixed size array. (writezone, addtt): Don't assume the number of times is less than TZ_MAX_TIMES. * NEWS: Document this.
This commit is contained in:
6
NEWS
6
NEWS
@@ -10,8 +10,10 @@ Unreleased, experimental changes
|
||||
|
||||
Changes affecting 'zic'
|
||||
|
||||
'zic' now is smarter about allocating memory.
|
||||
(Thanks to Andrew Main (Zefram).)
|
||||
'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.
|
||||
|
||||
Changes affecting commentary and documentation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user