File 0851-Fix-typos-in-lib-reltool.patch of Package erlang
From c107affae8d322ac703979ab5fce716c4f00b7a5 Mon Sep 17 00:00:00 2001
From: "Kian-Meng, Ang" <kianmeng@cpan.org>
Date: Mon, 27 Dec 2021 16:06:01 +0800
Subject: [PATCH] Fix typos in lib/reltool
---
lib/reltool/doc/src/notes.xml | 6 +++---
lib/reltool/doc/src/reltool.xml | 4 ++--
lib/reltool/doc/src/reltool_usage.xml | 2 +-
lib/reltool/src/reltool_server.erl | 2 +-
lib/reltool/src/reltool_target.erl | 2 +-
lib/reltool/test/reltool_server_SUITE.erl | 2 +-
6 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/lib/reltool/doc/src/notes.xml b/lib/reltool/doc/src/notes.xml
index d469c8d9a9..40ea90d83d 100644
--- a/lib/reltool/doc/src/notes.xml
+++ b/lib/reltool/doc/src/notes.xml
@@ -404,7 +404,7 @@
reltool config does not contain all applications that are
listed as <c>{applications,Applications}</c> in a
<c>.app</c> file, then these applications are
- autmatically added when creating the <c>.rel</c> file.
+ automatically added when creating the <c>.rel</c> file.
For 'included_applications', the behaviour was not the
same. I.e. if a <c>rel</c> spec in the reltool config did
not contain all applications that are listed as
@@ -508,7 +508,7 @@
<item> Status bar now indicates that reltool is working
(Processing libraries...) for all configuration changes,
and when generating target system. </item> <item> Title
- of dependecies column in app and mod window is changed
+ of dependencies column in app and mod window is changed
from "Modules used by others" to "Modules using this".
</item> </list></p>
<p>
@@ -668,7 +668,7 @@
<p>
Allow the same module name in multiple applications
visible to reltool, as long as all but one of the
- applications/modules are explicitely excluded. (Thanks to
+ applications/modules are explicitly excluded. (Thanks to
Andrew Gopienko and Jay Nelson)</p>
<p>
Own Id: OTP-9229</p>
diff --git a/lib/reltool/doc/src/reltool.xml b/lib/reltool/doc/src/reltool.xml
index 136ec2ed69..a6520a2805 100644
--- a/lib/reltool/doc/src/reltool.xml
+++ b/lib/reltool/doc/src/reltool.xml
@@ -386,7 +386,7 @@
will be chosen.</p>
<p>Note that in order for reltool to sort application versions
and thereby be able to select the latest, it is required that
- the version id for the application consits of integers and
+ the version id for the application consists of integers and
dots only, for example <c>1</c>, <c>2.0</c> or
<c>3.17.1</c>.</p>
</item>
@@ -402,7 +402,7 @@
will be chosen.</p>
<p>Note that in order for reltool to sort application versions
and thereby be able to select the latest, it is required that
- the version id for the application consits of integers and
+ the version id for the application consists of integers and
dots only, for example <c>1</c>, <c>2.0</c> or
<c>3.17.1</c>.</p>
</item>
diff --git a/lib/reltool/doc/src/reltool_usage.xml b/lib/reltool/doc/src/reltool_usage.xml
index 743d5fa366..f84ffb05f2 100644
--- a/lib/reltool/doc/src/reltool_usage.xml
+++ b/lib/reltool/doc/src/reltool_usage.xml
@@ -261,7 +261,7 @@
<p>Note that in order for reltool to sort application versions and
thereby be able to select the latest, it is required that the
- version id for the application consits of integers and dots only,
+ version id for the application consists of integers and dots only,
for example <c>1</c>, <c>2.0</c> or <c>3.17.1</c>.</p>
<p>By default the <c>Application inclusion policy</c> on system
diff --git a/lib/reltool/src/reltool_server.erl b/lib/reltool/src/reltool_server.erl
index 43e9d50b18..de7d73bf37 100644
--- a/lib/reltool/src/reltool_server.erl
+++ b/lib/reltool/src/reltool_server.erl
@@ -1012,7 +1012,7 @@ mod_recap_dependencies(S, A, [#mod{name = ModName}=M1 | Mods], Acc, IsIncl) ->
ets:insert(S#state.mod_tab, M3),
mod_recap_dependencies(S, A, Mods, [M3 | Acc], IsIncl2);
[_] when A#app.is_included==false; M1#mod.incl_cond==exclude ->
- %% App is explicitely excluded so it is ok that the module
+ %% App is explicitly excluded so it is ok that the module
%% record does not exist for this module in this
%% application.
mod_recap_dependencies(S, A, Mods, [M1 | Acc], IsIncl);
diff --git a/lib/reltool/src/reltool_target.erl b/lib/reltool/src/reltool_target.erl
index 773e752ad4..1a0f868be8 100644
--- a/lib/reltool/src/reltool_target.erl
+++ b/lib/reltool/src/reltool_target.erl
@@ -677,7 +677,7 @@ del_apps([], Apps) ->
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Create the load path used in the generated script.
%% If PathFlag is true a script intended to be used as a complete
-%% system (e.g. in an embbeded system), i.e. all applications are
+%% system (e.g. in an embedded system), i.e. all applications are
%% located under $ROOT/lib.
%% Otherwise all paths are set according to dir per application.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/lib/reltool/test/reltool_server_SUITE.erl b/lib/reltool/test/reltool_server_SUITE.erl
index c775aa1225..11ae6d6da2 100644
--- a/lib/reltool/test/reltool_server_SUITE.erl
+++ b/lib/reltool/test/reltool_server_SUITE.erl
@@ -2641,7 +2641,7 @@ os_cmd(Cmd) when is_list(Cmd) ->
[]->
{99, []};
Return->
- %% Find the position of the status code wich is last in the string
+ %% Find the position of the status code which is last in the string
%% prepended with #
case string:rchr(Return, $#) of
--
2.31.1