Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
0904-Fix-typos-in-lib-diameter.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0904-Fix-typos-in-lib-diameter.patch of Package erlang
From 5f5b016aa6a1c53bf0d471a734a352b7bc742226 Mon Sep 17 00:00:00 2001 From: "Kian-Meng, Ang" <kianmeng@cpan.org> Date: Fri, 10 Dec 2021 07:19:46 +0800 Subject: [PATCH] Fix typos in lib/diameter --- lib/diameter/doc/src/notes.xml | 8 ++++---- lib/diameter/src/base/diameter_callback.erl | 4 ++-- lib/diameter/src/base/diameter_reg.erl | 4 ++-- lib/diameter/src/base/diameter_service.erl | 6 +++--- lib/diameter/src/info/diameter_info.erl | 2 +- lib/diameter/src/transport/diameter_tcp.erl | 4 ++-- lib/diameter/test/diameter_codec_test.erl | 4 ++-- lib/diameter/test/diameter_gen_sctp_SUITE.erl | 4 ++-- lib/diameter/test/diameter_util.erl | 4 ++-- 9 files changed, 20 insertions(+), 20 deletions(-) diff --git a/lib/diameter/doc/src/notes.xml b/lib/diameter/doc/src/notes.xml index d56022bfc3..373b83b7b4 100644 --- a/lib/diameter/doc/src/notes.xml +++ b/lib/diameter/doc/src/notes.xml @@ -11,14 +11,14 @@ <header> <copyright> <year>2011</year> -<year>2021</year> +<year>2022</year> <holder>Ericsson AB. All Rights Reserved.</holder> </copyright> <legalnotice> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software @@ -626,7 +626,7 @@ first.</p> </item> <item> <p> - Update build scripts to not make assumtions about where + Update build scripts to not make assumptions about where env, cp and perl are located.</p> <p> Own Id: OTP-13800</p> @@ -893,7 +893,7 @@ first.</p> connection over SCTP, and then TCP in case SCTP fails. Multiple module tuples can be paired with a single config tuple, but in this case the start order was reversed - relative to the order in which the modules were specifed.</p> + relative to the order in which the modules were specified.</p> <p> Own Id: OTP-12851</p> </item> diff --git a/lib/diameter/src/base/diameter_callback.erl b/lib/diameter/src/base/diameter_callback.erl index 3bcf550cd8..a2b2ba8ffb 100644 --- a/lib/diameter/src/base/diameter_callback.erl +++ b/lib/diameter/src/base/diameter_callback.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2010-2019. All Rights Reserved. +%% Copyright Ericsson AB 2010-2022. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -49,7 +49,7 @@ %% %% {module, [diameter_callback, {peer_down, {mymod, down, []}}]} %% -%% The following would result in this module suppying peer_up and +%% The following would result in this module supplying peer_up and %% peer_down callback, others taking place in module mymod. %% %% {module, #diameter_callback{peer_up = false, diff --git a/lib/diameter/src/base/diameter_reg.erl b/lib/diameter/src/base/diameter_reg.erl index c1762a07e3..2fd6abbfbd 100644 --- a/lib/diameter/src/base/diameter_reg.erl +++ b/lib/diameter/src/base/diameter_reg.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2010-2017. All Rights Reserved. +%% Copyright Ericsson AB 2010-2022. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -76,7 +76,7 @@ %% # add(T) %% %% Associate the specified term with self(). The list of pids having -%% this or other assocations can be retrieved using match/1. +%% this or other associations can be retrieved using match/1. %% %% An association is removed when the calling process dies or as a %% result of calling remove/1. Adding the same term more than once is diff --git a/lib/diameter/src/base/diameter_service.erl b/lib/diameter/src/base/diameter_service.erl index 520a7233cc..6ff9de3341 100644 --- a/lib/diameter/src/base/diameter_service.erl +++ b/lib/diameter/src/base/diameter_service.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2010-2020. All Rights Reserved. +%% Copyright Ericsson AB 2010-2022. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -686,7 +686,7 @@ cs(undefined, _) -> %% # i/1 %% --------------------------------------------------------------------------- -%% Intialize the state of a service gen_server. +%% Initialize the state of a service gen_server. i(SvcName) -> %% Split the config into a server state and a list of transports. @@ -1072,7 +1072,7 @@ reopen({TPid, {Caps, SupportedApps, _Pkt}}, %% --------------------------------------------------------------------------- %% Watchdog has recovered a suspect connection. Note that there has -%% been no new capabilties exchange in this case. +%% been no new capabilities exchange in this case. connection_up(#watchdog{peer = TPid} = Wd, #state{local = {PeerT, _, _}} = S) -> diff --git a/lib/diameter/src/info/diameter_info.erl b/lib/diameter/src/info/diameter_info.erl index 9ff6769ba5..9d1f392c4e 100644 --- a/lib/diameter/src/info/diameter_info.erl +++ b/lib/diameter/src/info/diameter_info.erl @@ -166,7 +166,7 @@ format(Recs, Fields, SFun) %%% Output: Number of entries output. %%% %%% Description: Pretty-print records in a named tables as collected -%%% from known nodes. Each table listing is preceeded by +%%% from known nodes. Each table listing is preceded by %%% a banner. %%% ---------------------------------------------------------- diff --git a/lib/diameter/src/transport/diameter_tcp.erl b/lib/diameter/src/transport/diameter_tcp.erl index 2c5dc2fa2e..9ac9f2d59c 100644 --- a/lib/diameter/src/transport/diameter_tcp.erl +++ b/lib/diameter/src/transport/diameter_tcp.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2010-2020. All Rights Reserved. +%% Copyright Ericsson AB 2010-2022. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -615,7 +615,7 @@ transition({P, Sock, Bin}, #transport{socket = Sock, P == tcp -> recv(acc(Frag, Bin), S); -%% Capabilties exchange has decided on whether or not to run over TLS. +%% Capabilities exchange has decided on whether or not to run over TLS. transition({diameter, {tls, Ref, Type, B}}, #transport{parent = Pid} = S) -> true = is_boolean(B), %% assert diff --git a/lib/diameter/test/diameter_codec_test.erl b/lib/diameter/test/diameter_codec_test.erl index 70e910ffa6..e4ad139d93 100644 --- a/lib/diameter/test/diameter_codec_test.erl +++ b/lib/diameter/test/diameter_codec_test.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2010-2017. All Rights Reserved. +%% Copyright Ericsson AB 2010-2022. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -469,7 +469,7 @@ values(Name, Mod) -> %% %% Pack four variants of group values: tagged list containing all %% values, the corresponding record, a minimal tagged list and the -%% coresponding record. +%% corresponding record. group(Mod, Name, Rec, Avps, Enum) -> lists:map(fun(B) -> group(Mod, Name, Rec, Avps, Enum, B) end, diff --git a/lib/diameter/test/diameter_gen_sctp_SUITE.erl b/lib/diameter/test/diameter_gen_sctp_SUITE.erl index ccee6baec1..d3b2e89297 100644 --- a/lib/diameter/test/diameter_gen_sctp_SUITE.erl +++ b/lib/diameter/test/diameter_gen_sctp_SUITE.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2010-2017. All Rights Reserved. +%% Copyright Ericsson AB 2010-2022. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -45,7 +45,7 @@ %% Open sockets on the loopback address. -define(ADDR, {127,0,0,1}). -%% An indescribably long number of milliseconds after which everthing +%% An indescribably long number of milliseconds after which everything %% that should have happened has. -define(FOREVER, 2000). diff --git a/lib/diameter/test/diameter_util.erl b/lib/diameter/test/diameter_util.erl index d249b0e4fa..e2fd3333d3 100644 --- a/lib/diameter/test/diameter_util.erl +++ b/lib/diameter/test/diameter_util.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2010-2017. All Rights Reserved. +%% Copyright Ericsson AB 2010-2022. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -63,7 +63,7 @@ eprof(stop) -> %% --------------------------------------------------------------------------- %% name/2 %% -%% Contruct and deconstruct lists of atoms as atoms to work around +%% Construct and deconstruct lists of atoms as atoms to work around %% group names in common_test being restricted to atoms. name(Names) -- 2.34.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