Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7-0]: src Pull up following revision(s) (requested by kre in tick...



details:   https://anonhg.NetBSD.org/src/rev/c741778d9e0b
branches:  netbsd-7-0
changeset: 801291:c741778d9e0b
user:      snj <snj%NetBSD.org@localhost>
date:      Thu Mar 02 07:44:13 2017 +0000

description:
Pull up following revision(s) (requested by kre in ticket #1374):
        doc/3RDPARTY: 1.1420 via patch
        distrib/sets/lists/base/mi: 1.1155
        external/public-domain/tz/dist/Makefile: up to 1.1.1.17
        external/public-domain/tz/dist/NEWS: up to 1.1.1.17
        external/public-domain/tz/dist/TZDATA_VERSION: up to 1.7
        external/public-domain/tz/dist/Theory: up to 1.1.1.10
        external/public-domain/tz/dist/africa: up to 1.1.1.10
        external/public-domain/tz/dist/antarctica: up to 1.1.1.8
        external/public-domain/tz/dist/asia: up to 1.1.1.16
        external/public-domain/tz/dist/australasia: up to 1.1.1.11
        external/public-domain/tz/dist/backward: up to 1.1.1.7
        external/public-domain/tz/dist/backzone: up to 1.1.1.11
        external/public-domain/tz/dist/europe: up to 1.1.1.17
        external/public-domain/tz/dist/leap-seconds.list: up to 1.1.1.7
        external/public-domain/tz/dist/leapseconds: up to 1.1.1.8
        external/public-domain/tz/dist/northamerica: up to 1.1.1.15
        external/public-domain/tz/dist/southamerica: up to 1.1.1.11
        external/public-domain/tz/dist/version: up to 1.1.1.4
        external/public-domain/tz/dist/zone.tab: up to 1.1.1.11
        external/public-domain/tz/dist/zone1970.tab: up to 1.1.1.13
Update to tzdata2017a.

diffstat:

 distrib/sets/lists/base/mi                       |    3 +-
 doc/3RDPARTY                                     |    6 +-
 external/public-domain/tz/dist/Makefile          |   15 +-
 external/public-domain/tz/dist/NEWS              |  224 ++++++--
 external/public-domain/tz/dist/TZDATA_VERSION    |    2 +-
 external/public-domain/tz/dist/Theory            |   29 +-
 external/public-domain/tz/dist/africa            |  101 ++--
 external/public-domain/tz/dist/antarctica        |    3 +-
 external/public-domain/tz/dist/asia              |  312 ++++++------
 external/public-domain/tz/dist/australasia       |  159 +++---
 external/public-domain/tz/dist/backward          |    1 +
 external/public-domain/tz/dist/backzone          |  138 ++--
 external/public-domain/tz/dist/europe            |  204 +++++---
 external/public-domain/tz/dist/leap-seconds.list |    8 +-
 external/public-domain/tz/dist/leapseconds       |    4 +-
 external/public-domain/tz/dist/northamerica      |   87 +-
 external/public-domain/tz/dist/southamerica      |  554 +++++++++++-----------
 external/public-domain/tz/dist/version           |    2 +-
 external/public-domain/tz/dist/zone.tab          |    2 +-
 external/public-domain/tz/dist/zone1970.tab      |    1 +
 20 files changed, 1016 insertions(+), 839 deletions(-)

diffs (truncated from 3682 to 300 lines):

diff -r d9f3e18ab229 -r c741778d9e0b distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi        Tue Feb 21 06:47:38 2017 +0000
+++ b/distrib/sets/lists/base/mi        Thu Mar 02 07:44:13 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1087.2.7.2.2 2016/12/13 07:28:22 snj Exp $
+# $NetBSD: mi,v 1.1087.2.7.2.3 2017/03/02 07:44:13 snj Exp $
 #
 # Note:        Don't delete entries from here - mark them as "obsolete" instead,
 #      unless otherwise stated below.
@@ -5345,6 +5345,7 @@
 ./usr/share/zoneinfo/America/Porto_Acre                base-sys-share          share
 ./usr/share/zoneinfo/America/Porto_Velho       base-sys-share          share
 ./usr/share/zoneinfo/America/Puerto_Rico       base-sys-share          share
+./usr/share/zoneinfo/America/Punta_Arenas      base-sys-share          share
 ./usr/share/zoneinfo/America/Rainy_River       base-sys-share          share
 ./usr/share/zoneinfo/America/Rankin_Inlet      base-sys-share          share
 ./usr/share/zoneinfo/America/Recife            base-sys-share          share
diff -r d9f3e18ab229 -r c741778d9e0b doc/3RDPARTY
--- a/doc/3RDPARTY      Tue Feb 21 06:47:38 2017 +0000
+++ b/doc/3RDPARTY      Thu Mar 02 07:44:13 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: 3RDPARTY,v 1.1145.2.18.2.15 2017/02/20 16:27:13 sborrill Exp $
+#      $NetBSD: 3RDPARTY,v 1.1145.2.18.2.16 2017/03/02 07:44:13 snj Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -1300,8 +1300,8 @@
 Added changes from a5 -> a12 manually.
 
 Package:       tz
-Version:       tzcode2014j (+ upgraded zic) / tzdata2016j
-Current Vers:  tzcode2016j / tzdata2016j
+Version:       tzcode2014j (+ upgraded zic) / tzdata2017a
+Current Vers:  tzcode2017a / tzdata2017a
 Maintainer:    Paul Eggert <eggert%cs.ucla.edu@localhost>
 Archive Site:  ftp://ftp.iana.org/tz/releases/
 Archive Site:  ftp://munnari.oz.au/pub/oldtz/
diff -r d9f3e18ab229 -r c741778d9e0b external/public-domain/tz/dist/Makefile
--- a/external/public-domain/tz/dist/Makefile   Tue Feb 21 06:47:38 2017 +0000
+++ b/external/public-domain/tz/dist/Makefile   Thu Mar 02 07:44:13 2017 +0000
@@ -72,11 +72,11 @@
 
 LIBDIR=                $(TOPDIR)/lib
 
-# If you always want time values interpreted as "seconds since the epoch
-# (not counting leap seconds)", use
+# If you want only POSIX time, with time values interpreted as
+# seconds since the epoch (not counting leap seconds), use
 #      REDO=           posix_only
-# below.  If you always want right time values interpreted as "seconds since
-# the epoch" (counting leap seconds)", use
+# below.  If you want want only "right" time, with values interpreted
+# as seconds since the epoch (counting leap seconds), use
 #      REDO=           right_only
 # below.  If you want both sets of data available, with leap seconds not
 # counted normally, use
@@ -85,7 +85,10 @@
 # normally, use
 #      REDO=           right_posix
 # below.  POSIX mandates that leap seconds not be counted; for compatibility
-# with it, use "posix_only" or "posix_right".
+# with it, use "posix_only" or "posix_right".  Use POSIX time on systems with
+# leap smearing; this can work better than unsmeared "right" time with
+# applications that are not leap second aware, and is closer to unsmeared
+# "right" time than unsmeared POSIX time is (e.g., 0.5 vs 1.0 s max error).
 
 REDO=          posix_right
 
@@ -165,7 +168,7 @@
        -Wshadow -Wstrict-prototypes -Wsuggest-attribute=const \
        -Wsuggest-attribute=format -Wsuggest-attribute=noreturn \
        -Wsuggest-attribute=pure -Wtrampolines \
-       -Wunused -Wwrite-strings \
+       -Wundef -Wunused -Wwrite-strings \
        -Wno-address -Wno-format-nonliteral -Wno-sign-compare \
        -Wno-type-limits -Wno-unused-parameter
 #
diff -r d9f3e18ab229 -r c741778d9e0b external/public-domain/tz/dist/NEWS
--- a/external/public-domain/tz/dist/NEWS       Tue Feb 21 06:47:38 2017 +0000
+++ b/external/public-domain/tz/dist/NEWS       Thu Mar 02 07:44:13 2017 +0000
@@ -1,5 +1,113 @@
 News for the tz database
 
+Release 2017a - 2017-02-28 00:05:36 -0800
+
+  Briefly: Southern Chile moves from -04/-03 to -03, and Mongolia
+  discontinues DST.
+
+  Changes to future time stamps
+
+    Mongolia no longer observes DST.  (Thanks to Ganbold Tsagaankhuu.)
+
+    Chile's Region of Magallanes moves from -04/-03 to -03 year-round.
+    Its clocks diverge from America/Santiago starting 2017-05-13 at
+    23:00, hiving off a new zone America/Punta_Arenas.  Although the
+    Chilean government says this change expires in May 2019, for now
+    assume it's permanent.  (Thanks to Juan Correa and Deborah
+    Goldsmith.)  This also affects Antarctica/Palmer.
+
+  Changes to past time stamps
+
+    Fix many entries for historical time stamps for Europe/Madrid
+    before 1979, to agree with tables compiled by Pere Planesas of the
+    National Astronomical Observatory of Spain.  As a side effect,
+    this changes some time stamps for Africa/Ceuta before 1929, which
+    are probably guesswork anyway.  (Thanks to Steve Allen and
+    Pierpaolo Bernardi for the heads-ups, and to Michael Deckers for
+    correcting the 1901 transition.)
+
+    Ecuador observed DST from 1992-11-28 to 1993-02-05.
+    (Thanks to Alois Treindl.)
+
+    Asia/Atyrau and Asia/Oral were at +03 (not +04) before 1930-06-21.
+    (Thanks to Stepan Golosunov.)
+
+  Changes to past and future time zone abbreviations
+
+    Switch to numeric time zone abbreviations for South America, as
+    part of the ongoing project of removing invented abbreviations.
+    This avoids the need to invent an abbreviation for the new Chilean
+    new zone.  Similarly, switch from invented to numeric time zone
+    abbreviations for Afghanistan, American Samoa, the Azores,
+    Bangladesh, Bhutan, the British Indian Ocean Territory, Brunei,
+    Cape Verde, Chatham Is, Christmas I, Cocos (Keeling) Is, Cook Is,
+    Dubai, East Timor, Eucla, Fiji, French Polynesia, Greenland,
+    Indochina, Iran, Iraq, Kiribati, Lord Howe, Macquarie, Malaysia,
+    the Maldives, Marshall Is, Mauritius, Micronesia, Mongolia,
+    Myanmar, Nauru, Nepal, New Caledonia, Niue, Norfolk I, Palau,
+    Papua New Guinea, the Philippines, Pitcairn, Qatar, Réunion, St
+    Pierre & Miquelon, Samoa, Saudi Arabia, Seychelles, Singapore,
+    Solomon Is, Tokelau, Tuvalu, Wake, Vanuatu, Wallis & Futuna, and
+    Xinjiang; for 20-minute daylight saving time in Ghana before 1943;
+    for half-hour daylight saving time in Belize before 1944 and in
+    the Dominican Republic before 1975; and for Canary Islands before
+    1946, for Guinea-Bissau before 1975, for Iceland before 1969, for
+    Indian Summer Time before 1942, for Indonesia before around 1964,
+    for Kenya before 1960, for Liberia before 1973, for Madeira before
+    1967, for Namibia before 1943, for the Netherlands in 1937-9, for
+    Pakistan before 1971, for Western Sahara before 1977, and for
+    Zaporozhye in 1880-1924.
+
+    For Alaska time from 1900 through 1967, instead of "CAT" use the
+    abbreviation "AST", the abbreviation commonly used at the time
+    (Atlantic Standard Time had not been standardized yet).  Use "AWT"
+    and "APT" instead of the invented abbreviations "CAWT" and "CAPT".
+
+    Use "CST" and "CDT" instead of invented abbreviations for Macau
+    before 1999 and Taiwan before 1938, and use "JST" instead of the
+    invented abbreviation "JCST" for Japan and Korea before 1938.
+
+  Change to database entry category
+
+    Move the Pacific/Johnston link from 'australasia' to 'backward',
+    since Johnston is now uninhabited.
+
+  Changes to code
+
+    zic no longer mishandles some transitions in January 2038 when it
+    attempts to work around Qt bug 53071.  This fixes a bug affecting
+    Pacific/Tongatapu that was introduced in zic 2016e.  localtime.c
+    now contains a workaround, useful when loading a file generated by
+    a buggy zic.  (Problem and localtime.c fix reported by Bradley
+    White.)
+
+    zdump -i now outputs non-hour numeric time zone abbreviations
+    without a colon, e.g., "+0530" rather than "+05:30".  This agrees
+    with zic %z and with common practice, and simplifies auditing of
+    zdump output.
+
+    zdump is now buildable again with -DUSE_LTZ=0.
+    (Problem reported by Joseph Myers.)
+
+    zdump.c now always includes private.h, to avoid code duplication
+    with private.h.  (Problem reported by Kees Dekker.)
+
+    localtime.c no longer mishandles early or late timestamps
+    when TZ is set to a POSIX-style string that specifies DST.
+    (Problem reported by Kees Dekker.)
+
+    date and strftime now cause %z to generate "-0000" instead of
+    "+0000" when the UT offset is zero and the time zone abbreviation
+    begins with "-".
+
+  Changes to documentation and commentary
+
+    The 'Theory' file now better documents choice of historical time
+    zone abbreviations.  (Problems reported by Michael Deckers.)
+
+    tz-link.htm now covers leap smearing, which is popular in clouds.
+
+
 Release 2016j - 2016-11-22 23:17:13 -0800
 
   Briefly: Saratov, Russia moves from +03 to +04 on 2016-12-04.
@@ -13,7 +121,7 @@
   Changes to past time stamps
 
     The new zone Asia/Atyrau for Atyraū Region, Kazakhstan, is like
-    Asia/Aqtau except it switched from +04/+05 to +05/+06 in spring
+    Asia/Aqtau except it switched from +05/+06 to +04/+05 in spring
     1999, not fall 1994.  (Thanks to Stepan Golosunov.)
 
   Changes to past time zone abbreviations
@@ -911,16 +1019,16 @@
     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,
+    If USG_COMPAT is defined and the requested timestamp 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
+    variable timezone to a value appropriate for that timestamp; 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
+    return NULL and set errno when a timestamp is out of range, rather
     than having undefined behavior.
 
     Some bugs associated with the new 2014g functions have been fixed.
@@ -937,7 +1045,7 @@
 
 Release 2014h - 2014-09-25 18:59:03 -0700
 
-  Changes affecting past time stamps
+  Changes affecting past timestamps
 
     America/Jamaica's 1974 spring-forward transition was Jan. 6, not Apr. 28.
 
@@ -945,8 +1053,8 @@
     not 1920-01-06.  The old entry was based on a misinterpretation of Shanks.
 
     Some more zones have been turned into links, when they differed
-    from existing zones only for older time stamps.  As usual,
-    these changes affect UTC offsets in pre-1970 time stamps only.
+    from existing zones only for older timestamps.  As usual,
+    these changes affect UTC offsets in pre-1970 timestamps only.
     Their old contents have been moved to the 'backzone' file.
     The affected zones are: Africa/Blantyre, Africa/Bujumbura,
     Africa/Gaborone, Africa/Harare, Africa/Kigali, Africa/Lubumbashi,
@@ -958,7 +1066,7 @@
     not merely on platforms defining TM_GMTOFF.
 
     The tz library's localtime and mktime functions now set tzname to a value
-    appropriate for the requested time stamp, and zdump now uses this
+    appropriate for the requested timestamp, and zdump now uses this
     on platforms not defining TM_ZONE, fixing a 2014g regression.
     (Thanks to Tim Parenti for reporting the problem.)
 
@@ -998,13 +1106,13 @@
 
 Release 2014g - 2014-08-28 12:31:23 -0700
 
-  Changes affecting future time stamps
+  Changes affecting future timestamps
 
     Turks & Caicos is switching from US eastern time to UT -04
     year-round, modeled as a switch on 2014-11-02 at 02:00.
     [As noted in 2014j, this switch was later delayed.]
 
-  Changes affecting past time stamps
+  Changes affecting past timestamps
 
     Time in Russia or the USSR before 1926 or so has been corrected by
     a few seconds in the following zones: Asia/Irkutsk,
@@ -1014,7 +1122,7 @@
     Vladimir Karpinsky.)
 
     The Portuguese decree of 1911-05-26 took effect on 1912-01-01.
-    This affects 1911 time stamps in Africa/Bissau, Africa/Luanda,
+    This affects 1911 timestamps in Africa/Bissau, Africa/Luanda,
     Atlantic/Azores, and Atlantic/Madeira.  Also, Lisbon's pre-1912
     GMT offset was -0:36:45 (rounded from -0:36:44.68), not -0:36:32.
     (Thanks to Stephen Colebourne for pointing to the decree.)
@@ -1022,7 +1130,7 @@
     Asia/Dhaka ended DST on 2009-12-31 at 24:00, not 23:59.
 
     A new file 'backzone' contains data which may appeal to
-    connoisseurs of old time stamps, although it is out of scope for
+    connoisseurs of old timestamps, although it is out of scope for
     the tz database, is often poorly sourced, and contains some data
     that is known to be incorrect.  The new file is not recommended
     for ordinary use and its entries are not installed by default.
@@ -1030,8 +1138,8 @@
     Isle of Man entries.)
 
     Some more zones have been turned into links, when they differed
-    from existing zones only for older time stamps.  As usual,
-    these changes affect UTC offsets in pre-1970 time stamps only.
+    from existing zones only for older timestamps.  As usual,
+    these changes affect UTC offsets in pre-1970 timestamps only.
     Their old contents have been moved to the 'backzone' file.
     The affected zones are: Africa/Bangui, Africa/Brazzaville,
     Africa/Douala, Africa/Kinshasa, Africa/Libreville, Africa/Luanda,
@@ -1082,7 +1190,7 @@
     but does not cause other problems such as traps.
 



Home | Main Index | Thread Index | Old Index