From a09458e1827ca73a625bb2629b8d89fe3691fdd5 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Thu, 6 May 2021 13:31:25 -0700
Subject: [PROPOSED 1/3] Loosen zone.tab checking for links
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* checktab.awk: Don’t require every zone.tab entry to
be in the primary ydata, as it’s OK for these entries
to be backward-compatibility links in the ‘backward’ file.
---
 checktab.awk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/checktab.awk b/checktab.awk
index ec145b5..54ac0a6 100644
--- a/checktab.awk
+++ b/checktab.awk
@@ -172,12 +172,14 @@ END {
 			status = 1
 		}
 	}
-	for (tz in tztab) {
+	if (zone_table != "zone.tab") {
+	    for (tz in tztab) {
 		if (!zoneSeen[tz]) {
 			printf "%s:%d: no Zone table for '%s'\n", \
 				zone_table, tz2NR[tz], tz >>"/dev/stderr"
 			status = 1
 		}
+	    }
 	}
 	if (0 < want_warnings) {
 		for (cc in cc2name) {
-- 
2.27.0

