LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 0585-Fix-some-missed-comments-about-rsh.patch of Package erlang (Project home:Ledest:erlang:20)

From 4657060caaf43c40aae70225156db94805178bf8 Mon Sep 17 00:00:00 2001
From: Siri Hansen <siri@erlang.org>
Date: Fri, 22 Feb 2019 10:58:12 +0100
Subject: [PATCH 3/3] Fix some missed comments about rsh

---
 lib/inets/examples/httpd_load_test/hdlt_slave.erl | 2 +-
 lib/stdlib/src/slave.erl                          | 6 ++----
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/lib/inets/examples/httpd_load_test/hdlt_slave.erl b/lib/inets/examples/httpd_load_test/hdlt_slave.erl
index cb39a381af..30ddfd76af 100644
--- a/lib/inets/examples/httpd_load_test/hdlt_slave.erl
+++ b/lib/inets/examples/httpd_load_test/hdlt_slave.erl
@@ -54,7 +54,7 @@
 %% 1. There must be an ssh program on computer; if not an error
 %%    is returned.
 %%
-%% 2. The hosts must be configured to allowed 'ssh' access without
+%% 2. The hosts must be configured to allow 'ssh' access without
 %%    prompts for password.
 %%
 %% The slave node will have its filer and user server redirected
diff --git a/lib/stdlib/src/slave.erl b/lib/stdlib/src/slave.erl
index 21b8610b79..4791e3ebda 100644
--- a/lib/stdlib/src/slave.erl
+++ b/lib/stdlib/src/slave.erl
@@ -114,7 +114,7 @@ relay1(Pid) ->
 %% 1. There must be an ssh program on computer; if not an error
 %%    is returned.
 %%
-%% 2. The hosts must be configured to allowed 'ssh' access without
+%% 2. The hosts must be configured to allow 'ssh' access without
 %%    prompts for password.
 %%
 %% The slave node will have its filer and user server redirected
@@ -341,9 +341,7 @@ do_quote_progname([Prog,Arg|Args]) ->
 		lists:flatten(lists:map(fun(X) -> [" ",X] end, [Arg|Args]))
     end.
 
-%% Give the user an opportunity to run another program,
-%% than the "rsh".  On HP-UX rsh is called remsh; thus HP users
-%% must start erlang as erl -rsh remsh.
+%% Give the user an opportunity to run another program than "ssh".
 %%
 %% Also checks that the given program exists.
 %%
-- 
2.16.4