Module Name:    src
Committed By:   kre
Date:           Tue Aug 16 13:23:12 UTC 2022

Modified Files:
        src/external/public-domain/tz: tzdata2netbsd

Log Message:
Change the NEWS parser to handle the more recent (as in going back several
years now) format (wording) that is used there, rather than that which
preceded it.   With this we get the intended "what changed" in the generated
CVS commit message, rather than lots of emptiness.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/public-domain/tz/tzdata2netbsd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/public-domain/tz/tzdata2netbsd
diff -u src/external/public-domain/tz/tzdata2netbsd:1.13 src/external/public-domain/tz/tzdata2netbsd:1.14
--- src/external/public-domain/tz/tzdata2netbsd:1.13	Tue Aug 16 13:19:41 2022
+++ src/external/public-domain/tz/tzdata2netbsd	Tue Aug 16 13:23:12 2022
@@ -1,4 +1,4 @@
-# $NetBSD: tzdata2netbsd,v 1.13 2022/08/16 13:19:41 kre Exp $
+# $NetBSD: tzdata2netbsd,v 1.14 2022/08/16 13:23:12 kre Exp $
 
 # For use by NetBSD developers when updating to new versions of tzdata.
 #
@@ -467,11 +467,11 @@ EOF
 				" ("date"):";
 		}
 		/^$/ { blankline = 1; havesentence = 0; }
-		/^  Changes affecting/ { goodsection = 0; }
-		/^  Changes affecting.*time/ { goodsection = 1; }
-		/^  Changes affecting.*data/ { goodsection = 1; }
-		/^  Changes affecting.*documentation/ || \
-		/^  Changes affecting.*commentary/ {
+		/^  Changes / { goodsection = 0; }
+		/^  Changes to future timestamps/ { goodsection = 1; }
+		/^  Changes to past timestamps/ { goodsection = 1; }
+		/^  Changes to documentation/ || \
+		/^  Changes to commentary/ {
 			t = gensub("^ *", "", 1, $0);
 			t = gensub("\\.*$", ".", 1, t);
 			print bullet t;

Reply via email to