File 2276-Fix-typos-in-lib-ssh.patch of Package erlang
From d2d196f54c58769aaf09951b66ec545f681dd7d8 Mon Sep 17 00:00:00 2001
From: "Kian-Meng, Ang" <kianmeng@cpan.org>
Date: Fri, 31 Dec 2021 16:02:28 +0800
Subject: [PATCH] Fix typos in lib/ssh
---
lib/ssh/doc/src/SSH_app.xml | 2 +-
lib/ssh/doc/src/configurations.xml | 2 +-
lib/ssh/doc/src/configure_algos.xml | 16 ++++++------
lib/ssh/doc/src/hardening.xml | 4 +--
lib/ssh/doc/src/notes.xml | 26 +++++++++----------
lib/ssh/doc/src/ssh.xml | 20 +++++++-------
lib/ssh/doc/src/ssh_agent.xml | 2 +-
lib/ssh/doc/src/ssh_client_key_api.xml | 12 ++++-----
lib/ssh/doc/src/ssh_connection.xml | 2 +-
lib/ssh/doc/src/ssh_file.xml | 4 +--
lib/ssh/doc/src/ssh_sftp.xml | 2 +-
lib/ssh/doc/src/terminology.xml | 8 +++---
lib/ssh/doc/src/using_ssh.xml | 2 +-
lib/ssh/src/ssh.erl | 2 +-
lib/ssh/src/ssh_auth.hrl | 2 +-
lib/ssh/src/ssh_client_key_api.erl | 2 +-
lib/ssh/src/ssh_connection.erl | 4 +--
lib/ssh/src/ssh_connection_handler.erl | 14 +++++-----
lib/ssh/src/ssh_daemon_channel.erl | 2 +-
lib/ssh/src/ssh_dbg.erl | 8 +++---
lib/ssh/src/ssh_file.erl | 2 +-
lib/ssh/src/ssh_fsm_userauth_client.erl | 6 ++---
lib/ssh/src/ssh_info.erl | 2 +-
lib/ssh/src/ssh_message.erl | 4 +--
lib/ssh/src/ssh_options.erl | 6 ++---
lib/ssh/src/ssh_server_channel.erl | 2 +-
lib/ssh/src/ssh_server_key_api.erl | 2 +-
lib/ssh/src/ssh_sftp.erl | 10 +++----
lib/ssh/src/ssh_sftpd.erl | 2 +-
lib/ssh/src/ssh_shell.erl | 2 +-
lib/ssh/src/ssh_system_sup.erl | 4 +--
lib/ssh/src/ssh_transport.erl | 4 +--
lib/ssh/src/ssh_transport.hrl | 2 +-
lib/ssh/src/ssh_xfer.hrl | 2 +-
.../property_test/ssh_eqc_client_server.erl | 2 +-
.../property_test/ssh_eqc_encode_decode.erl | 2 +-
lib/ssh/test/ssh_basic_SUITE.erl | 12 ++++-----
lib/ssh/test/ssh_chan_behaviours_SUITE.erl | 4 +--
lib/ssh/test/ssh_compat_SUITE.erl | 10 +++----
lib/ssh/test/ssh_connection_SUITE.erl | 6 ++---
lib/ssh/test/ssh_options_SUITE.erl | 8 +++---
lib/ssh/test/ssh_protocol_SUITE.erl | 10 +++----
lib/ssh/test/ssh_pubkey_SUITE.erl | 4 +--
.../public_key/ssh_rsa_long_comment_pub | 2 +-
.../public_key/ssh_rsa_long_header_pub | 2 +-
lib/ssh/test/ssh_relay.erl | 2 +-
lib/ssh/test/ssh_sftpd_SUITE.erl | 6 ++---
lib/ssh/test/ssh_test_lib.erl | 6 ++---
lib/ssh/test/ssh_to_openssh_SUITE.erl | 2 +-
lib/ssh/test/ssh_trpt_test_lib.erl | 14 +++++-----
lib/ssh/test/ssh_upgrade_SUITE.erl | 2 +-
51 files changed, 140 insertions(+), 140 deletions(-)
diff --git a/lib/ssh/src/ssh_dbg.erl b/lib/ssh/src/ssh_dbg.erl
index 54a88a479f..6a21b876da 100644
--- a/lib/ssh/src/ssh_dbg.erl
+++ b/lib/ssh/src/ssh_dbg.erl
D#data{acc = Write(io_lib:format(Fmt, Args), Acc)}.
%%%----------------------------------------------------------------
-shrink_bin(B) when is_binary(B), size(B)>100 -> {'*** SHRINKED BIN',size(B),element(1,split_binary(B,20)),'***'};
+shrink_bin(B) when is_binary(B), size(B)>100 -> {'*** SHRUNK BIN',size(B),element(1,split_binary(B,20)),'***'};
shrink_bin(L) when is_list(L) -> lists:map(fun shrink_bin/1, L);
shrink_bin(T) when is_tuple(T) -> list_to_tuple(shrink_bin(tuple_to_list(T)));
shrink_bin(X) -> X.
--
2.34.1