[tz] [PATCH 2/4] Don't repeat missing comment errors

J William Piggott elseifthen at gmx.com
Sun Jan 24 00:49:35 UTC 2016


* checktab.awk: Do not repeat zone tab 'missing comment' error messages
  for a given time zone. This happens when there are multiple CC's for a
  zone tab line item which is missing a required comment (field 4).

Signed-off-by: J William Piggott <elseifthen at gmx.com>
---
 checktab.awk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/checktab.awk b/checktab.awk
index bbf7ce9..f985c0a 100644
--- a/checktab.awk
+++ b/checktab.awk
@@ -117,6 +117,7 @@ BEGIN {
 	    printf "%s:%d: missing comment for %s\n", \
 	      zone_table, tz2NR[tz], comments_needed[tz] \
 	      >>"/dev/stderr"
+	    tz2comments[tz] = 1
 	    status = 1
 	  }
 	}


More information about the tz mailing list