diff options
author | Armin Kuster <akuster808@gmail.com> | 2014-10-22 13:29:13 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-04 10:27:08 +0000 |
commit | a5abc5346b361dfb68271fa0ea318a5e8010f1d7 (patch) | |
tree | bc1e52eb77bb0d7c63f51c339f1a71e2549a3058 /meta/recipes-extended | |
parent | 2eed76b73dd4f846e88f4d20c73cf198acf18566 (diff) | |
download | poky-a5abc5346b361dfb68271fa0ea318a5e8010f1d7.tar.gz |
tzcode: update to 2014i
Changes affecting code
The time-related library functions now set errno on failure,
and some crashes in the new tzalloc-related library functions
have been fixed. (Thanks to Christos Zoulas for reporting
most of these problems and for suggesting fixes.)
If USG_COMPAT is defined and the requested time stamp is
standard time, the tz library's localtime and mktime functions
now set the extern variable timezone to a value appropriate
for that time stamp; and similarly for ALTZONE, daylight
saving time, and the altzone variable. This change is a
companion to the tzname change in 2014h, and is designed to
make timezone and altzone more compatible with tzname.
The tz library's functions now set errno to EOVERFLOW if they
fail because the result cannot be represented. ctime and
ctime_r now return NULL and set errno when a time stamp is out
of range, rather than having undefined behavior.
Some bugs associated with the new 2014g functions have been
fixed. This includes a bug that largely incapacitated the new
functions time2posix_z and posix2time_z. (Thanks to Christos
Zoulas.) It also includes some uses of uninitialized
variables after tzalloc. The new code uses the standard type
'ssize_t', which the Makefile now gives porting advice about.
Changes affecting commentary
Updated URLs for NRC Canada (thanks to Matt Johnson and Brian
Inglis).
(From OE-Core rev: 3a4cc36da4786f8de57b328e8220b96fc22f3577)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/tzcode/tzcode-native_2014h.bb | 11 | ||||
-rw-r--r-- | meta/recipes-extended/tzcode/tzcode-native_2014i.bb | 10 |
2 files changed, 10 insertions, 11 deletions
diff --git a/meta/recipes-extended/tzcode/tzcode-native_2014h.bb b/meta/recipes-extended/tzcode/tzcode-native_2014h.bb deleted file mode 100644 index 87c5f23847..0000000000 --- a/meta/recipes-extended/tzcode/tzcode-native_2014h.bb +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | # note that we allow for us to use data later than our code version | ||
2 | # | ||
3 | SRC_URI =" ftp://ftp.iana.org/tz/releases/tzcode${PV}.tar.gz;name=tzcode \ | ||
4 | ftp://ftp.iana.org/tz/releases/tzdata2014h.tar.gz;name=tzdata" | ||
5 | |||
6 | SRC_URI[tzcode.md5sum] = "8e7741fc769ebdd94d95e5f2c3adbb60" | ||
7 | SRC_URI[tzcode.sha256sum] = "a4d9788a1bb0aa314eae4986ee991425b83ecc47da0e84f626735846be1dbf44" | ||
8 | SRC_URI[tzdata.md5sum] = "ed05111948beba8a0f30956baa46b272" | ||
9 | SRC_URI[tzdata.sha256sum] = "e78152f616fb07c1dea124215ffca57d0de66d8897e00896086542e3de30f69e" | ||
10 | |||
11 | require tzcode-native.inc | ||
diff --git a/meta/recipes-extended/tzcode/tzcode-native_2014i.bb b/meta/recipes-extended/tzcode/tzcode-native_2014i.bb new file mode 100644 index 0000000000..d77dd5daf7 --- /dev/null +++ b/meta/recipes-extended/tzcode/tzcode-native_2014i.bb | |||
@@ -0,0 +1,10 @@ | |||
1 | # note that we allow for us to use data later than our code version | ||
2 | # | ||
3 | SRC_URI =" ftp://ftp.iana.org/tz/releases/tzcode${PV}.tar.gz;name=tzcode \ | ||
4 | ftp://ftp.iana.org/tz/releases/tzdata2014i.tar.gz;name=tzdata" | ||
5 | |||
6 | SRC_URI[tzcode.md5sum] = "7fa413158f01a961348aa6a289b6be21" | ||
7 | SRC_URI[tzcode.sha256sum] = "62591075fb0d47459889b71bac3c8487f09b7417b81dfa541d750b4889e84783" | ||
8 | SRC_URI[tzdata.md5sum] = "00adeb62a0897aac5ba67da838351adb" | ||
9 | SRC_URI[tzdata.sha256sum] = "2af331bdd2b794ec59b8ded7300fb29dc3573a009ec14183f5c9ad38e3886153" | ||
10 | require tzcode-native.inc | ||