Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
0714-Fix-typos-in-erts-preloaded.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0714-Fix-typos-in-erts-preloaded.patch of Package erlang
From 9ae4174ff70287f8366dfcf113668f77a5af6a40 Mon Sep 17 00:00:00 2001 From: "Kian-Meng, Ang" <kianmeng@cpan.org> Date: Sun, 14 Nov 2021 14:07:54 +0800 Subject: [PATCH] Fix typos in /erts/preloaded --- erts/preloaded/src/erts_code_purger.erl | 2 +- erts/preloaded/src/init.erl | 2 +- erts/preloaded/src/prim_buffer.erl | 2 +- erts/preloaded/src/prim_inet.erl | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/erts/preloaded/src/erts_code_purger.erl b/erts/preloaded/src/erts_code_purger.erl index 341c44536b..10d7baa237 100644 --- a/erts/preloaded/src/erts_code_purger.erl +++ b/erts/preloaded/src/erts_code_purger.erl @@ -363,7 +363,7 @@ do_test_hard_purge(Mod, From, Ref, Reqs) -> end. test_progress(_State, _From, _Ref, died) -> - %% Test process died; continue so we wont + %% Test process died; continue so we won't %% leave the system in an inconsistent %% state... died; diff --git a/erts/preloaded/src/init.erl b/erts/preloaded/src/init.erl index 42d6d6ea7b..3b2ff529e0 100644 --- a/erts/preloaded/src/init.erl +++ b/erts/preloaded/src/init.erl @@ -591,7 +591,7 @@ set_flag(_Flag,false,Flags) -> {ok,Flags}; set_flag(Flag,Value,Flags) when is_list(Value) -> %% The flag here can be -boot or -config, which means the value is - %% a file name! Thus the file name encoding is used when coverting. + %% a file name! Thus the file name encoding is used when converting. Encoding = file:native_name_encoding(), case catch unicode:characters_to_binary(Value,Encoding,Encoding) of {'EXIT',_} -> diff --git a/erts/preloaded/src/prim_buffer.erl b/erts/preloaded/src/prim_buffer.erl index e0d35a6792..ca0debc85e 100644 --- a/erts/preloaded/src/prim_buffer.erl +++ b/erts/preloaded/src/prim_buffer.erl @@ -106,7 +106,7 @@ skip(_Buffer, _Size) -> wipe(Buffer) -> skip(Buffer, prim_buffer:size(Buffer)). -%% Finds the start-index of the first occurence of Needle, for implementing +%% Finds the start-index of the first occurrence of Needle, for implementing %% read_line and similar. -spec find_byte_index(Buffer, Needle) -> Result when Buffer :: prim_buffer(), diff --git a/erts/preloaded/src/prim_inet.erl b/erts/preloaded/src/prim_inet.erl index 4dab3de006..04855658f1 100644 --- a/erts/preloaded/src/prim_inet.erl +++ b/erts/preloaded/src/prim_inet.erl @@ -1566,7 +1566,7 @@ dec_opt(I) when is_integer(I) -> undefined. %% The use of [] and [[Type,Default]] is commented out in enc_value/2 %% and type_value/2 below since they are only used in record fields. %% And record fields does not call enc_value/2 nor type_value/2. -%% Anyone introducing these metatypes otherwhere will have to activate +%% Anyone introducing these metatypes elsewhere will have to activate %% those clauses in enc_value/2 and type_value/2. You have been warned! type_opt(get, raw) -> [{[int],[int],[binary_or_uint]}]; @@ -2066,7 +2066,7 @@ enc_value_2(binary_or_uint,Datum) when is_integer(Datum) -> %% -%% Decoding of option VALUES receved from "getopt": +%% Decoding of option VALUES received from "getopt": %% NOT required for SCTP, as it always returns ready terms, not lists: %% dec_value(bool, [0,0,0,0|T]) -> {false,T}; @@ -2459,7 +2459,7 @@ dec_subs([]) -> []. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% -%% handle statictics options +%% handle statistics options %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -- 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