File 0628-Fix-various-spelling-mistakes.patch of Package erlang

From 3e84a2e23bdf5650b8c53f991ae6ea5b1b699e4a Mon Sep 17 00:00:00 2001
From: Lorenzo Bolla <lorenzo.bolla@yougov.com>
Date: Sun, 31 Mar 2019 17:13:23 +0100
Subject: [PATCH] Fix various spelling mistakes

Fix ERL-541 and various other unreported spelling mistakes.
---
 lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl    | 2 +-
 lib/dialyzer/test/r9c_SUITE_data/src/inets/mod_responsecontrol.erl | 2 +-
 lib/inets/src/http_server/mod_responsecontrol.erl                  | 2 +-
 lib/kernel/src/kernel.erl                                          | 2 +-
 lib/stdlib/test/stdlib_bench_SUITE_data/generic_fsm.erl            | 2 +-
 lib/wx/examples/simple/hello2.erl                                  | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl b/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl
index 0d17481e95..9df395b0de 100644
--- a/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl
+++ b/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl
@@ -271,7 +271,7 @@ no_client_hello(Config) ->
 
     %% Tell server to receive a get request and then die without
     %% replying since no hello has been received. (is this correct
-    %% behavoiur??)
+    %% behaviour??)
     ?NS:expect_do(get,close),
     {error,closed} = ct_netconfc:get(Client,whatever),
     ok.
diff --git a/lib/dialyzer/test/r9c_SUITE_data/src/inets/mod_responsecontrol.erl b/lib/dialyzer/test/r9c_SUITE_data/src/inets/mod_responsecontrol.erl
index a997db6880..53eeedc29f 100644
--- a/lib/dialyzer/test/r9c_SUITE_data/src/inets/mod_responsecontrol.erl
+++ b/lib/dialyzer/test/r9c_SUITE_data/src/inets/mod_responsecontrol.erl
@@ -71,7 +71,7 @@ do_responsecontrol(Info) ->
 
 
 %% If a client sends more then one of the if-XXXX fields in a request
-%% The standard says it does not specify the behaviuor so I specified it :-)
+%% The standard says it does not specify the behaviour so I specified it :-)
 %% The priority between the fields is
 %% 1.If-modified
 %% 2.If-Unmodified
diff --git a/lib/inets/src/http_server/mod_responsecontrol.erl b/lib/inets/src/http_server/mod_responsecontrol.erl
index 07129940a5..a32ba65c22 100644
--- a/lib/inets/src/http_server/mod_responsecontrol.erl
+++ b/lib/inets/src/http_server/mod_responsecontrol.erl
@@ -71,7 +71,7 @@ do_responsecontrol(Info) ->
 
 
 %% If a client sends more then one of the if-XXXX fields in a request
-%% The standard says it does not specify the behaviuor so I specified it :-)
+%% The standard says it does not specify the behaviour so I specified it :-)
 %% The priority between the fields is 
 %% 1.If-modified
 %% 2.If-Unmodified
diff --git a/lib/kernel/src/kernel.erl b/lib/kernel/src/kernel.erl
index c68d04e279..a492249a0e 100644
--- a/lib/kernel/src/kernel.erl
+++ b/lib/kernel/src/kernel.erl
@@ -68,7 +68,7 @@ config_change(Changed, New, Removed) ->
 %%%          	      auth, ...)     ...)
 %%%
 %%% The rectangular boxes are supervisors.  All supervisors except
-%%% for kernel_safe_sup terminates the enitre erlang node if any of
+%%% for kernel_safe_sup terminates the entire erlang node if any of
 %%% their children dies.  Any child that can't be restarted in case
 %%% of failure must be placed under one of these supervisors.  Any
 %%% other child must be placed under safe_sup.  These children may
diff --git a/lib/wx/examples/simple/hello2.erl b/lib/wx/examples/simple/hello2.erl
index 656c056d9a..07a9a56b7d 100644
--- a/lib/wx/examples/simple/hello2.erl
+++ b/lib/wx/examples/simple/hello2.erl
@@ -32,7 +32,7 @@
 -export([start/0]).
 -compile(export_all).
 
--behavoiur(wx_object).
+-behaviour(wx_object).
 
 -record(state, {win}).
 
-- 
2.16.4

openSUSE Build Service is sponsored by