summaryrefslogtreecommitdiff
path: root/checktab.awk
diff options
context:
space:
mode:
authorPhilip Paeps <philip@FreeBSD.org>2019-07-02 01:06:03 +0000
committerPhilip Paeps <philip@FreeBSD.org>2019-07-02 01:06:03 +0000
commit8d01e58d3f473100bffc535573c50bf0f7865179 (patch)
treec99837d75f111f0ed0ad4b2e65bf30f335096c11 /checktab.awk
parentbeecab94238e98475d145990b5ea9f66bb871f03 (diff)
Import tzdata 2019bvendor/tzdata/tzdata2019b
Notes
svn path=/vendor/tzdata/dist/; revision=349590 svn path=/vendor/tzdata/tzdata2019b/; revision=349591; tag=vendor/tzdata/tzdata2019b
Diffstat (limited to 'checktab.awk')
-rw-r--r--checktab.awk9
1 files changed, 8 insertions, 1 deletions
diff --git a/checktab.awk b/checktab.awk
index 393ab19f0bd8..ec145b5adf95 100644
--- a/checktab.awk
+++ b/checktab.awk
@@ -63,12 +63,19 @@ BEGIN {
coordinates = $2
tz = $3
comments = $4
- if (cc < cc0) {
+
+ # Don't complain about a special case for Crimea in zone.tab.
+ # FIXME: zone.tab should be removed, since it is obsolete.
+ # Or at least put just "XX" in its country-code column.
+ if (cc < cc0 \
+ && !(zone_table == "zone.tab" \
+ && tz0 == "Europe/Simferopol")) {
printf "%s:%d: country code '%s' is out of order\n", \
zone_table, zone_NR, cc >>"/dev/stderr"
status = 1
}
cc0 = cc
+ tz0 = tz
tztab[tz] = 1
tz2comments[tz] = comments
tz2NR[tz] = zone_NR