From 64c5d196f739b7662497b0986d4d94c418a3fd85 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Mon, 21 Mar 2022 10:40:17 -0700
Subject: [PROPOSED] Fix spelling and grammar in commentary
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Apparently I didn't remember how to spell “mnemonic”.
---
 NEWS         | 4 ++--
 africa       | 2 +-
 asia         | 8 ++++----
 australasia  | 6 +++---
 calendars    | 2 +-
 europe       | 6 +++---
 localtime.c  | 2 +-
 southamerica | 2 +-
 zishrink.awk | 2 +-
 9 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/NEWS b/NEWS
index 001747c..34c1cf2 100644
--- a/NEWS
+++ b/NEWS
@@ -161,7 +161,7 @@ Release 2021b - 2021-09-24 16:23:00 -0700
     Rename Pacific/Enderbury to Pacific/Kanton.  When we added
     Enderbury in 1993, we did not know that it is uninhabited and that
     Kanton (population two dozen) is the only inhabited location in
-    that timezone.  The old name is now a backward-compatility link.
+    that timezone.  The old name is now a backward-compatibility link.
 
   Changes to past timestamps
 
@@ -4387,7 +4387,7 @@ Release 2007a - 2007-01-08 12:28:29 -0500
 
   changes by Paul Eggert
 
-  Derick Rethan's Asmara change
+  Derick Rethans's Asmara change
 
   Oscar van Vlijmen's Easter Island local mean time change
 
diff --git a/africa b/africa
index 359a3d3..b398f66 100644
--- a/africa
+++ b/africa
@@ -1356,7 +1356,7 @@ Zone	Indian/Reunion	3:41:52 -	LMT	1911 Jun # Saint-Denis
 # From Michael Deckers (2018-12-30):
 # https://www.legis-palop.org/download.jsp?idFile=102818
 # ... [The legal time of the country, which coincides with universal
-# coordinated time, will be restituted at 2 o'clock on day 1 of January, 2019.]
+# coordinated time, will be reinstituted at 2 o'clock on day 1 of January, 2019.]
 
 Zone	Africa/Sao_Tome	 0:26:56 -	LMT	1884
 			-0:36:45 -	LMT	1912 Jan  1 00:00u # Lisbon MT
diff --git a/asia b/asia
index 049b35c..63b11ed 100644
--- a/asia
+++ b/asia
@@ -344,11 +344,11 @@ Rule	Shang	1919	only	-	Sep	30	24:00	0	S
 # in the city at the time for people who use different time standard to adjust
 # their clock to their preferred time.
 #
-# a. For the 1940 May 31 spring forward, the essay claim that it was
-# coordinared between the international settlement authority and the French
+# a. For the 1940 May 31 spring forward, the essay claims that it was
+# coordinated between the international settlement authority and the French
 # concession authority and have gathered support from Hong Kong and Xiamen,
 # that it would spring forward an hour from May 31 "midnight", and the essay
-# claim "Hong Kong government implemented the spring forward in the same time
+# claims "Hong Kong government implemented the spring forward in the same time
 # on the same date as Shanghai".
 #
 # b. For the 1940 fall back, it was said that they initially intended to do
@@ -2465,7 +2465,7 @@ Zone	Asia/Amman	2:23:44 -	LMT	1931
 # the third time belt (before 1930 this means +03).
 
 # From Alexander Konzurovski (2018-12-20):
-# Qyzyolrda Region (Asia/Qyzylorda) is changing its time zone from
+# Qyzylorda Region (Asia/Qyzylorda) is changing its time zone from
 # UTC+6 to UTC+5 effective December 21st, 2018. The legal document is
 # located here: http://adilet.zan.kz/rus/docs/P1800000817 (russian language).
 
diff --git a/australasia b/australasia
index 33079fa..6a28b20 100644
--- a/australasia
+++ b/australasia
@@ -658,7 +658,7 @@ Zone Pacific/Rarotonga	13:20:56 -	LMT	1899 Dec 26 # Avarua
 
 
 # Niue
-# See Pacific/Raratonga comments for 1952 transition.
+# See Pacific/Rarotonga comments for 1952 transition.
 #
 # From Tim Parenti (2021-09-13):
 # Consecutive contemporaneous editions of The Air Almanac listed -11:20 for
@@ -1829,8 +1829,8 @@ Zone	Pacific/Wallis	12:15:20 -	LMT	1901
 # From Phake Nick (2018-10-27):
 # <https://wiki.suikawiki.org/n/南洋群島の標準時> ... pointed out that
 # currently tzdata say Pacific/Kwajalein switched from GMT+11 to GMT-12 in
-# 1969 October without explanation, however an 1993 article from NYT say it
-# synchorized its day with US mainland about 40 years ago and thus the switch
+# 1969 October without explanation, however an 1993 article from NYT says it
+# synchronized its day with the US mainland about 40 years ago and thus the switch
 # should occur at around 1950s instead.
 #
 # From Paul Eggert (2018-11-18):
diff --git a/calendars b/calendars
index 8bc7062..2e16d85 100644
--- a/calendars
+++ b/calendars
@@ -142,7 +142,7 @@ Gregorian calendar:
 
 31 Dec 1700/
    12 Jan 1701 - Friesland, Groningen, Zürich, Bern, Basel, Geneva,
-                 Turgau, and Schaffhausen
+                 Thurgau, and Schaffhausen
 
           1724 - Glarus, Appenzell, and the city of St. Gallen
 
diff --git a/europe b/europe
index 208585d..8227416 100644
--- a/europe
+++ b/europe
@@ -3353,7 +3353,7 @@ Zone Asia/Vladivostok	 8:47:31 -	LMT	1922 Nov 15
 # 14-30	****	Ust-Maysky District
 
 # From Arthur David Olson (2012-05-09):
-# Tomponskij and Ust'-Majskij switched from Vladivostok time to Yakutsk time
+# Tomponsky and Ust-Maysky switched from Vladivostok time to Yakutsk time
 # in 2011.
 
 # From Paul Eggert (2012-11-25):
@@ -3479,7 +3479,7 @@ Zone Asia/Srednekolymsk	10:14:52 -	LMT	1924 May  2
 # 14-22	****	Oymyakonsky District
 
 # From Arthur David Olson (2012-05-09):
-# Ojmyakonskij [and the Kuril Islands] switched from
+# Oymyakonsky [and the Kuril Islands] switched from
 # Magadan time to Vladivostok time in 2011.
 #
 # From Tim Parenti (2014-07-06), per Alexander Krivenyshev (2014-07-02):
@@ -4028,7 +4028,7 @@ Link	Europe/Istanbul	Asia/Istanbul	# Istanbul is in both continents.
 
 # Ukraine
 #
-# From Alois Triendl (2014-03-01):
+# From Alois Treindl (2014-03-01):
 # REGULATION A N O V A on March 20, 1992 N 139 ...  means that from
 # 1992 on, Ukraine had DST with begin time at 02:00 am, on last Sunday
 # in March, and end time 03:00 am, last Sunday in September....
diff --git a/localtime.c b/localtime.c
index 913c7e8..f1961f9 100644
--- a/localtime.c
+++ b/localtime.c
@@ -1513,7 +1513,7 @@ tzfree(timezone_t sp)
 ** set the applicable parts of tzname, timezone and altzone;
 ** however, it's OK to omit this step if the timezone is POSIX-compatible,
 ** since in that case tzset should have already done this step correctly.
-** SETNAME's type is intfast32_t for compatibility with gmtsub,
+** SETNAME's type is int_fast32_t for compatibility with gmtsub,
 ** but it is actually a boolean and its value should be 0 or 1.
 */
 
diff --git a/southamerica b/southamerica
index c6249cd..445d85b 100644
--- a/southamerica
+++ b/southamerica
@@ -645,7 +645,7 @@ Zone	America/La_Paz	-4:32:36 -	LMT	1890
 
 # From Rodrigo Severo (2004-10-04):
 # It's just the biannual change made necessary by the much hyped, supposedly
-# modern Brazilian eletronic voting machines which, apparently, can't deal
+# modern Brazilian electronic voting machines which, apparently, can't deal
 # with a time change between the first and the second rounds of the elections.
 
 # From Steffen Thorsen (2007-09-20):
diff --git a/zishrink.awk b/zishrink.awk
index 1947c7c..88563f9 100644
--- a/zishrink.awk
+++ b/zishrink.awk
@@ -23,7 +23,7 @@ function record_hash(n, name)
 function gen_rule_name(name, \
 		       n)
 {
-  # Use a simple memonic: the first two letters.
+  # Use a simple mnemonic: the first two letters.
   n = substr(name, 1, 2)
   record_hash(n, name)
   # printf "# %s = %s\n", n, name
-- 
2.32.0

