Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
0707-Fix-typos-in-system-doc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0707-Fix-typos-in-system-doc.patch of Package erlang
From ec8703545fc9b536e3a795afcc592ddb71f3c0cd Mon Sep 17 00:00:00 2001 From: "Kian-Meng, Ang" <kianmeng@cpan.org> Date: Wed, 10 Nov 2021 10:07:38 +0800 Subject: [PATCH] Fix typos in system doc --- system/doc/design_principles/release_handling.xml | 2 +- system/doc/design_principles/spec_proc.xml | 2 +- system/doc/design_principles/statem.xml | 2 +- system/doc/design_principles/sup_princ.xml | 2 +- system/doc/efficiency_guide/bench.erl | 4 ++-- system/doc/efficiency_guide/commoncaveats.xmlsrc | 4 ++-- system/doc/efficiency_guide/retired_myths.xml | 2 +- system/doc/efficiency_guide/tablesDatabases.xml | 2 +- system/doc/embedded/intro.xml | 2 +- system/doc/general_info/deprecations_23.inc | 4 ++-- system/doc/reference_manual/distributed.xml | 2 +- system/doc/reference_manual/expressions.xml | 4 ++-- system/doc/reference_manual/processes.xml | 2 +- system/doc/reference_manual/typespec.xml | 2 +- system/doc/top/src/erl_html_tools.erl | 2 +- system/doc/tutorial/nif.xmlsrc | 2 +- 16 files changed, 20 insertions(+), 20 deletions(-) diff --git a/system/doc/design_principles/release_handling.xml b/system/doc/design_principles/release_handling.xml index d23e9732fc..74d4719f55 100644 --- a/system/doc/design_principles/release_handling.xml +++ b/system/doc/design_principles/release_handling.xml @@ -311,7 +311,7 @@ the following instruction is used:</p> <code type="none"> {apply, {M, F, A}}</code> - <p>The release handler evalutes <c>apply(M, F, A)</c>.</p> + <p>The release handler evaluates <c>apply(M, F, A)</c>.</p> </section> <section> diff --git a/system/doc/design_principles/spec_proc.xml b/system/doc/design_principles/spec_proc.xml index 5296b20377..fb5031001f 100644 --- a/system/doc/design_principles/spec_proc.xml +++ b/system/doc/design_principles/spec_proc.xml @@ -274,7 +274,7 @@ init(Parent) -> <section> <marker id="debug"></marker> <title>Debugging</title> - <p>To support the debug facilites in <c>sys</c>, a + <p>To support the debug facilities in <c>sys</c>, a <em>debug structure</em> is needed. The <c>Deb</c> term is initialized using <c>sys:debug_options/1</c>:</p> <code type="none"> diff --git a/system/doc/design_principles/statem.xml b/system/doc/design_principles/statem.xml index 2d6ea27635..d997b29bd7 100644 --- a/system/doc/design_principles/statem.xml +++ b/system/doc/design_principles/statem.xml @@ -1947,7 +1947,7 @@ do_unlock() -> <p> Say you have a state machine specification that uses state enter actions. - Allthough you can code this using inserted events + Although you can code this using inserted events (described in the next section), especially if just one or a few states has got state enter actions, this is a perfect use case for the built in diff --git a/system/doc/design_principles/sup_princ.xml b/system/doc/design_principles/sup_princ.xml index 3f6129298b..4ec375a134 100644 --- a/system/doc/design_principles/sup_princ.xml +++ b/system/doc/design_principles/sup_princ.xml @@ -374,7 +374,7 @@ child_spec() = #{id => child_id(), % mandatory <p>Note that this identifier occasionally has been called "name". As far as possible, the terms "identifier" or "id" are now used but in order to keep backwards compatibility, - some occurences of "name" can still be found, for example + some occurrences of "name" can still be found, for example in error messages.</p> </item> <item> diff --git a/system/doc/efficiency_guide/bench.erl b/system/doc/efficiency_guide/bench.erl index a1be24b051..a1e9a71084 100644 --- a/system/doc/efficiency_guide/bench.erl +++ b/system/doc/efficiency_guide/bench.erl @@ -424,7 +424,7 @@ create_html_table(File, {Bm, Res}) -> create_html_row(File, Name, ResultDict) end, Order), - %% Tabel end-tags + %% Table end-tags io:put_chars(File, "</table></td></tr></table>\n"), %% Create link to benchmark source code @@ -435,7 +435,7 @@ create_html_table(File, {Bm, Res}) -> %% create_html_row(File, Name, Dict) -> _ %% File = file() - html file to write data to. %% Name = atom() - Name of benchmark test -%% Dict = dict() - Dictonary where the relative time measures for +%% Dict = dict() - Dictionary where the relative time measures for %% the test can be found. %% %% Creates an actual html table-row. diff --git a/system/doc/efficiency_guide/commoncaveats.xml b/system/doc/efficiency_guide/commoncaveats.xml index 6c5aa2b233..ec787c4915 100644 --- a/system/doc/efficiency_guide/commoncaveats.xml +++ b/system/doc/efficiency_guide/commoncaveats.xml @@ -197,7 +197,7 @@ multiple_setelement(T0) -> <p>The two following <c>setelement/3</c> calls modify the tuple in place.</p> - <p>For the optimization to be applied, <em>all</em> the followings conditions + <p>For the optimization to be applied, <em>all</em> the following conditions must be true:</p> <list type="bulleted"> diff --git a/system/doc/efficiency_guide/retired_myths.xml b/system/doc/efficiency_guide/retired_myths.xml index a763770e5a..795806bca5 100644 --- a/system/doc/efficiency_guide/retired_myths.xml +++ b/system/doc/efficiency_guide/retired_myths.xml @@ -31,7 +31,7 @@ <file>retired_myths.xml</file> </header> - <p>We belive that the truth finally has caught with the following, + <p>We believe that the truth finally has caught with the following, retired myths.</p> <section> diff --git a/system/doc/efficiency_guide/tablesDatabases.xml b/system/doc/efficiency_guide/tablesDatabases.xml index 3f77151e55..50a48661a4 100644 --- a/system/doc/efficiency_guide/tablesDatabases.xml +++ b/system/doc/efficiency_guide/tablesDatabases.xml @@ -137,7 +137,7 @@ print_person(PersonId) -> io:format("No person with ID = ~p~n", [PersonID]) end. -%%% Internal functionss +%%% Internal functions print_name(PersonID) -> [Person] = ets:lookup(person, PersonId), io:format("No person ~p~n", [Person#person.name]). diff --git a/system/doc/embedded/intro.xml b/system/doc/embedded/intro.xml index 2b9d35d24c..6fc87fb210 100644 --- a/system/doc/embedded/intro.xml +++ b/system/doc/embedded/intro.xml @@ -37,7 +37,7 @@ <p>This manual is a complement to the other manuals and describes how to install, run and maintain Erlang on an embedded system. </p> - <p>For more informaton about how to install and start Erlang read + <p>For more information about how to install and start Erlang read XXXXXXXX. </p> diff --git a/system/doc/general_info/deprecations_23.inc b/system/doc/general_info/deprecations_23.inc index ef1c6ff12f..1eb8f3dd5e 100644 --- a/system/doc/general_info/deprecations_23.inc +++ b/system/doc/general_info/deprecations_23.inc @@ -18,12 +18,12 @@ <section> <title>ssh</title> <p>The public key algorithm <c>'ssh-rsa</c> is regarded as insecure due - to its usage of SHA1, and is therfore deprecated. + to its usage of SHA1, and is therefore deprecated. It will not be available by default from OTP-24. </p> <p>The public key algorithm <c>'ssh-dss</c> is regarded as insecure due - to its usage of SHA1 and its short key length, and is therfore deprecated. + to its usage of SHA1 and its short key length, and is therefore deprecated. It is not available by default from OTP-23. </p> </section> diff --git a/system/doc/reference_manual/expressions.xml b/system/doc/reference_manual/expressions.xml index 0392e1886d..a3a4689083 100644 --- a/system/doc/reference_manual/expressions.xml +++ b/system/doc/reference_manual/expressions.xml @@ -1014,7 +1014,7 @@ M4 = M3#{a := 2, b := 3}. % 'a' and 'b' was added in `M1` and `M2`.</code> <p> Here keys <c>K1 .. Kn</c> are any expressions with literals or bound variables. If all key expressions - evalute successfully and all keys exist in map + evaluate successfully and all keys exist in map <c>M</c>, all variables in <c>V1 .. Vn</c> is matched to the associated values of their respective keys. @@ -1612,7 +1612,7 @@ end</pre> the following syntax:</p> <pre> << BitStringExpr || Qualifier1,...,QualifierN >></pre> - <p><c>BitStringExpr</c> is an expression that evalutes to a bit + <p><c>BitStringExpr</c> is an expression that evaluates to a bit string. If <c>BitStringExpr</c> is a function call, it must be enclosed in parentheses. Each <c>Qualifier</c> is either a generator, a bit string generator or a filter.</p> diff --git a/system/doc/reference_manual/processes.xml b/system/doc/reference_manual/processes.xml index 95d0b75827..ca09c2bcc6 100644 --- a/system/doc/reference_manual/processes.xml +++ b/system/doc/reference_manual/processes.xml @@ -798,7 +798,7 @@ spawn(Module, Name, Args) -> pid() <list> <item><p> <c>noproc</c> in case no process or port was - found when setting up a link in a preceeding + found when setting up a link in a preceding call to the <seemfa marker="erts:erlang#link/1"><c>link(PidOrPort)</c></seemfa> BIF. The process or port identified as sender diff --git a/system/doc/reference_manual/typespec.xml b/system/doc/reference_manual/typespec.xml index dcd76468fb..e15525707b 100644 --- a/system/doc/reference_manual/typespec.xml +++ b/system/doc/reference_manual/typespec.xml @@ -160,7 +160,7 @@ ]]></pre> <p> Integer values are either integer or character literals or expressions - consisting of possibily nested unary or binary operations that evaluate to + consisting of possibly nested unary or binary operations that evaluate to an integer. Such expressions can also be used in bit strings and ranges. </p> <p> diff --git a/system/doc/top/src/erl_html_tools.erl b/system/doc/top/src/erl_html_tools.erl index 9ed6ffbf32..c7f5df2b6e 100644 --- a/system/doc/top/src/erl_html_tools.erl +++ b/system/doc/top/src/erl_html_tools.erl @@ -261,7 +261,7 @@ find_application_infos([{App, Vsn, AppPath, IndexURL} | Paths]) -> case lists:keysearch("group", 1, Db) of {value, {_, G0}} -> % This value may be in two parts, - % tag and desciption + % tag and description case string:str(G0, " ") of 0 -> {list_to_atom(G0), ""}; diff --git a/system/doc/tutorial/nif.xmlsrc b/system/doc/tutorial/nif.xmlsrc index 637b764c66..a7a6057826 100644 --- a/system/doc/tutorial/nif.xmlsrc +++ b/system/doc/tutorial/nif.xmlsrc @@ -62,7 +62,7 @@ </list> <p>Normally these are minimal stub implementations that throw an exception. But they can also be used as fallback implementations - for functions that do not have native implemenations on some + for functions that do not have native implementations on some architectures.</p> <p>NIF libraries are loaded by calling <c>erlang:load_nif/2</c>, with the name of the shared library as argument. The second -- 2.31.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor