LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 0652-Correct-description-for-removal-of-rpc-safe_multi_se.patch of Package erlang (Project home:Ledest:erlang:20)

From 3d259fd70ed9e24e59746c5958730892e505f1cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Fri, 5 Apr 2019 07:25:15 +0200
Subject: [PATCH 4/5] Correct description for removal of
 rpc:safe_multi_server_call/2

The warning would come out as:

    Warning: call to rpc:safe_multi_server_call/2 will fail,
    since it was removed in removed in OTP 19; use rpc:multi_server_call/2
                 ^^^^^^^^^^^^^^^^^^
---
 lib/stdlib/src/otp_internal.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl
index a06da0511b..fa34f19637 100644
--- a/lib/stdlib/src/otp_internal.erl
+++ b/lib/stdlib/src/otp_internal.erl
@@ -469,7 +469,7 @@ obsolete_1(queue, lait, 1) ->
 %% Removed in OTP 19.
 
 obsolete_1(rpc, safe_multi_server_call, A) when A =:= 2; A =:= 3 ->
-    {removed, {rpc, multi_server_call, A}, "removed in OTP 19"};
+    {removed, {rpc, multi_server_call, A}, "19.0"};
 
 %% Added in OTP 20.
 
-- 
2.16.4