diff --git a/doc/gproc.md b/doc/gproc.md index 84a353d..7778b80 100644 --- a/doc/gproc.md +++ b/doc/gproc.md @@ -1465,7 +1465,7 @@ select(Continuation::Arg) -> [Match] | {[Match], Continuation} | $end_of_tabl Perform a select operation on the process registry -When Arg = Contination, resume a gproc:select/1 operation +When Arg = Continuation, resume a gproc:select/1 operation (see [ets:select/1](http://www.erlang.org/doc/man/ets.html#select-1) When Arg = sel_pattern(), this function executes a select operation, @@ -1510,7 +1510,7 @@ variable substitution and ensure that the scan is limited. ### select/3 ###

-select(Context::context(), Pat::sel_patten(), Limit::integer()) -> {[Match], Continuation} | $end_of_table
+select(Context::context(), Pat::sel_pattern(), Limit::integer()) -> {[Match], Continuation} | $end_of_table
 

diff --git a/patches/stdlib/gen_fsm.erl b/patches/stdlib/gen_fsm.erl index 21117cc..ff71ac7 100644 --- a/patches/stdlib/gen_fsm.erl +++ b/patches/stdlib/gen_fsm.erl @@ -294,7 +294,7 @@ name_to_pid(Name) -> undefined -> case global:safe_whereis_name(Name) of undefined -> - exit(could_not_find_registerd_name); + exit(could_not_find_registered_name); Pid -> Pid end; @@ -578,7 +578,7 @@ format_status(Opt, StatusData) -> StatusData, Header = lists:concat(["Status for state machine ", Name]), Log = sys:get_debug(log, Debug, []), - Specfic = + Specific = case erlang:function_exported(Mod, format_status, 2) of true -> case catch Mod:format_status(Opt,[PDict,StateData]) of @@ -593,4 +593,4 @@ format_status(Opt, StatusData) -> {"Parent", Parent}, {"Logged events", Log}, {"StateName", StateName}]} | - Specfic]. + Specific]. diff --git a/patches/stdlib/gen_server.erl b/patches/stdlib/gen_server.erl index 270372b..be2900a 100644 --- a/patches/stdlib/gen_server.erl +++ b/patches/stdlib/gen_server.erl @@ -777,7 +777,7 @@ name_to_pid(Name) -> undefined -> case global:safe_whereis_name(Name) of undefined -> - exit(could_not_find_registerd_name); + exit(could_not_find_registered_name); Pid -> Pid end; @@ -797,7 +797,7 @@ format_status(Opt, StatusData) -> end, Header = lists:concat(["Status for generic server ", NameTag]), Log = sys:get_debug(log, Debug, []), - Specfic = + Specific = case erlang:function_exported(Mod, format_status, 2) of true -> case catch Mod:format_status(Opt, [PDict, State]) of @@ -811,4 +811,4 @@ format_status(Opt, StatusData) -> {data, [{"Status", SysState}, {"Parent", Parent}, {"Logged events", Log}]} | - Specfic]. + Specific]. diff --git a/src/gproc.erl b/src/gproc.erl index 94b21ab..1799662 100644 --- a/src/gproc.erl +++ b/src/gproc.erl @@ -1456,7 +1456,7 @@ unregister_name(Key) -> %% Match = {Key, Pid, Value} %% @doc Perform a select operation on the process registry %% -%% When Arg = Contination, resume a gproc:select/1 operation +%% When Arg = Continuation, resume a gproc:select/1 operation %% (see {@link //stdlib/ets:select/1. ets:select/1} %% %% When Arg = {@type sel_pattern()}, this function executes a select operation, @@ -1497,7 +1497,7 @@ select(Pat) -> select(Context, Pat) -> ets:select(?TAB, pattern(Pat, Context)). -%% @spec (Context::context(), Pat::sel_patten(), Limit::integer()) -> +%% @spec (Context::context(), Pat::sel_pattern(), Limit::integer()) -> %% {[Match],Continuation} | '$end_of_table' %% @doc Like {@link select/2} but returns Limit objects at a time. %%