mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2026-05-06 19:39:34 +00:00
Port to x32 by fixing type incompatibility with POSIX.
Reported by Elliott Hughes in <http://mm.icann.org/pipermail/tz/2013-September/020376.html>. * localtime.c (timezone) [USG_COMPAT]: (altzone) [ALTZONE]: Now long, not time_t. * strftime.c (_fmt): Use long, not int, to store timezone. * NEWS: Document this.
This commit is contained in:
10
NEWS
10
NEWS
@@ -13,6 +13,16 @@ Unreleased, experimental changes
|
||||
|
||||
Palestine will fall back at 00:00, not 01:00. (Thanks to Steffen Thorsen.)
|
||||
|
||||
Changes affecting API
|
||||
|
||||
The types of the global variables 'timezone' and 'altzone' (if present)
|
||||
have been changed back to 'long'. This is required for 'timezone'
|
||||
by POSIX, and for 'altzone' by common practice, e.g., Solaris 11.
|
||||
These variables were originally 'long' in the tz code, but were
|
||||
mistakenly changed to 'time_t' in 1987; nobody reported the
|
||||
incompatibility until now. The difference matters on x32, where
|
||||
'long' is 32 bits and 'time_t' is 64. (Thanks to Elliott Hughes.)
|
||||
|
||||
Changes affecting the build procedure
|
||||
|
||||
Avoid long strings in leapseconds.awk to work around a mawk bug.
|
||||
|
||||
Reference in New Issue
Block a user