diff options
author | Sverker Eriksson <[email protected]> | 2019-02-05 17:02:49 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2019-02-22 19:45:51 +0100 |
commit | a217c7185727cd69da5f780ac63b68b46bc1d9b4 (patch) | |
tree | 086baf04ab855e92a0fee727e1579685dce1e23a /erts/preloaded | |
parent | 31dd6cbfc080a205e146027c183e42fd68f40d4b (diff) | |
download | otp-a217c7185727cd69da5f780ac63b68b46bc1d9b4.tar.gz otp-a217c7185727cd69da5f780ac63b68b46bc1d9b4.tar.bz2 otp-a217c7185727cd69da5f780ac63b68b46bc1d9b4.zip |
[socket-nif] Rename 'nosup' -> 'notsup'
as called in crypto.erl and erlang.erl.
Diffstat (limited to 'erts/preloaded')
-rw-r--r-- | erts/preloaded/src/socket.erl | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/erts/preloaded/src/socket.erl b/erts/preloaded/src/socket.erl index 287ef1d791..79459941cf 100644 --- a/erts/preloaded/src/socket.erl +++ b/erts/preloaded/src/socket.erl @@ -1056,8 +1056,8 @@ open(Domain, Type, Protocol0, Extra) when is_map(Extra) -> throw:T -> T; %% <WIN32-TEMPORARY> - error:nosup:S -> - erlang:raise(error, nosup, S); + error:notsup:S -> + erlang:raise(error, notsup, S); %% </WIN32-TEMPORARY> error:Reason -> {error, Reason} @@ -1093,8 +1093,8 @@ bind(#socket{ref = SockRef}, Addr) nif_bind(SockRef, ?SOCKADDR_IN6_DEFAULT(Addr)) catch %% <WIN32-TEMPORARY> - error:nosup:S -> - erlang:raise(error, nosup, S); + error:notsup:S -> + erlang:raise(error, notsup, S); %% </WIN32-TEMPORARY> throw:ERROR -> ERROR @@ -1106,8 +1106,8 @@ bind(#socket{ref = SockRef} = _Socket, Addr) when is_map(Addr) -> end catch %% <WIN32-TEMPORARY> - error:nosup:S -> - erlang:raise(error, nosup, S); + error:notsup:S -> + erlang:raise(error, notsup, S); %% </WIN32-TEMPORARY> throw:ERROR -> ERROR @@ -1144,8 +1144,8 @@ bind(#socket{ref = SockRef}, Addrs, Action) end catch %% <WIN32-TEMPORARY> - error:nosup:S -> - erlang:raise(error, nosup, S); + error:notsup:S -> + erlang:raise(error, notsup, S); %% </WIN32-TEMPORARY> throw:ERROR -> ERROR @@ -2152,8 +2152,8 @@ shutdown(#socket{ref = SockRef}, How) -> throw:T -> T; %% <WIN32-TEMPORARY> - error:nosup:S -> - erlang:raise(error, nosup, S); + error:notsup:S -> + erlang:raise(error, notsup, S); %% </WIN32-TEMPORARY> error:Reason -> {error, Reason} @@ -2228,8 +2228,8 @@ setopt(#socket{ref = SockRef}, Level, Key, Value) -> throw:T -> T; %% <WIN32-TEMPORARY> - error:nosup:S -> - erlang:raise(error, nosup, S); + error:notsup:S -> + erlang:raise(error, notsup, S); %% </WIN32-TEMPORARY> error:Reason -> {error, Reason} % Process more? @@ -2314,8 +2314,8 @@ getopt(#socket{ref = SockRef}, Level, Key) -> throw:E:_S -> E; %% <WIN32-TEMPORARY> - error:nosup:S -> - erlang:raise(error, nosup, S); + error:notsup:S -> + erlang:raise(error, notsup, S); %% </WIN32-TEMPORARY> error:Reason:_Stack -> {error, Reason} % Process more? |