File 4710-Fix-typos-in-erts-etc.patch of Package erlang
From 4be558223ffd4abd339f98256c155bc2c6fb4d01 Mon Sep 17 00:00:00 2001
From: "Kian-Meng, Ang" <kianmeng@cpan.org>
Date: Tue, 23 Nov 2021 18:20:15 +0800
Subject: [PATCH] Fix typos in erts/etc
---
 erts/etc/common/erlexec.c                  |  8 ++++----
 erts/etc/common/etc_common.h               |  2 +-
 erts/etc/common/heart.c                    |  6 +++---
 erts/etc/common/inet_gethost.c             | 10 +++++-----
 erts/etc/unix/RELNOTES                     |  6 +++---
 erts/etc/unix/etp-commands.in              |  6 +++---
 erts/etc/unix/format_man_pages             |  2 +-
 erts/etc/unix/makewhatis                   |  4 ++--
 erts/etc/unix/run_erl.c                    |  6 +++---
 erts/etc/unix/to_erl.c                     |  2 +-
 erts/etc/win32/cygwin_tools/mingw/cc.sh    |  2 +-
 erts/etc/win32/cygwin_tools/mingw/coffix.c |  6 +++---
 erts/etc/win32/cygwin_tools/vc/cc.sh       |  4 ++--
 erts/etc/win32/cygwin_tools/vc/coffix.c    |  6 +++---
 erts/etc/win32/erl_log.c                   |  2 +-
 erts/etc/win32/erlsrv/erlsrv_service.c     |  2 +-
 erts/etc/win32/msys_tools/vc/cc.sh         |  4 ++--
 erts/etc/win32/msys_tools/vc/coffix.c      |  6 +++---
 erts/etc/win32/nsis/erlang20.nsi           |  4 ++--
 erts/etc/win32/nsis/find_redist.sh         |  2 +-
 erts/etc/win32/port_entry.c                |  2 +-
 erts/etc/win32/start_erl.c                 |  2 +-
 erts/etc/win32/wsl_tools/vc/cc.sh          |  6 +++---
 erts/etc/win32/wsl_tools/vc/coffix.c       |  6 +++---
 24 files changed, 53 insertions(+), 53 deletions(-)
diff --git a/erts/etc/win32/wsl_tools/vc/cc.sh b/erts/etc/win32/wsl_tools/vc/cc.sh
index 15e4e6c8a9..b7c9f693ad 100755
--- a/erts/etc/win32/wsl_tools/vc/cc.sh
+++ b/erts/etc/win32/wsl_tools/vc/cc.sh
@@ -39,7 +39,7 @@ ERR_FILE=/tmp/cl.exe.$$.2
 MD_FORCED=false
 # If we're preprocession (only) i.e. -E
 PREPROCESSING=false
-# If we're generating dependencies (implies preprocesing)
+# If we're generating dependencies (implies preprocessing)
 DEPENDENCIES=false
 # If this is supposed to be a debug build
 DEBUG_BUILD=false
@@ -225,7 +225,7 @@ mkdir $TMPOBJDIR
 
 WINTMPDIR=`w32_path.sh -w $TMPOBJDIR`
 
-# Sometimes the file server doesn't keep up (paralell file creation)
+# Sometimes the file server doesn't keep up (parallel file creation)
 while true ; do
     DIR_EXISTS=$(cd /mnt/c; cmd.exe /C "IF EXIST $WINTMPDIR (echo yes) ELSE (echo no)")
     case $DIR_EXISTS in   # Contains trash in the end of string
@@ -360,7 +360,7 @@ if [ $LINKING = true ]; then
 	*)
 	    out_spec="-o $OUTFILE";;
     esac
-    # Descide which standard library to link against
+    # Decide which standard library to link against
     case $MD in
 	-ML)
 	    stdlib="-lLIBC";;
diff --git a/erts/etc/win32/wsl_tools/vc/coffix.c b/erts/etc/win32/wsl_tools/vc/coffix.c
index 7428f9cd41..694f0213dd 100755
--- a/erts/etc/win32/wsl_tools/vc/coffix.c
+++ b/erts/etc/win32/wsl_tools/vc/coffix.c
@@ -43,7 +43,7 @@ static int v_printf(char *format, ...);
 
 
 char *progname;
-int verbouse = 0;
+int verbose = 0;
 
 int main(int argc, char **argv)
 {
@@ -66,7 +66,7 @@ int main(int argc, char **argv)
 	    break;
 	case 'v':
 	case 'V':
-	    verbouse = 1;
+	    verbose = 1;
 	default:
 	    fprintf(stderr, "%s: unknown option %s\n", progname, argv[findex]);
 	    break;
@@ -152,7 +152,7 @@ static int v_printf(char *format, ...)
 {
     va_list ap;
     int ret = 0;
-    if (verbouse) {
+    if (verbose) {
 	va_start(ap, format);
 	ret = vfprintf(stdout, format, ap);
 	va_end(ap);
-- 
2.31.1