File 0387-Fix-documentation-of-some-kernel-parameters.patch of Package erlang
From cd31d481ddff2bc50587875fdb7642189bdc1d86 Mon Sep 17 00:00:00 2001
From: Rickard Green <rickard@erlang.org>
Date: Sat, 12 Feb 2022 22:33:31 +0100
Subject: [PATCH 2/3] Fix documentation of some kernel parameters
---
lib/kernel/doc/src/kernel_app.xml | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/lib/kernel/doc/src/kernel_app.xml b/lib/kernel/doc/src/kernel_app.xml
index 905191202f..6f756ef312 100644
--- a/lib/kernel/doc/src/kernel_app.xml
+++ b/lib/kernel/doc/src/kernel_app.xml
@@ -244,9 +244,8 @@
to be forwarded to the handlers.</p>
</note>
</item>
- <tag><c>global_groups = [GroupTuple]</c></tag>
+ <tag><marker id="global_groups"/><c>global_groups = [GroupTuple]</c></tag>
<item>
- <marker id="global_groups"></marker>
<p>Defines global groups, see
<seeerl marker="global_group"><c>global_group(3)</c></seeerl>.
In this parameter:</p>
@@ -257,7 +256,7 @@
<item><p><c>Node = node()</c></p></item>
</list>
</item>
- <tag><c>inet_default_connect_options = [{Opt, Val}]</c></tag>
+ <tag><marker id="inet_default_connect_options"/><c>inet_default_connect_options = [{Opt, Val}]</c></tag>
<item>
<p>Specifies default options for <c>connect</c> sockets,
see <seeerl marker="inet"><c>inet(3)</c></seeerl>.</p>
@@ -267,28 +266,26 @@
<p>Specifies default options for <c>listen</c> (and
<c>accept</c>) sockets, see <seeerl marker="inet"><c>inet(3)</c></seeerl>.</p>
</item>
- <tag><c>{inet_dist_use_interface, ip_address()}</c></tag>
+ <tag><marker id="inet_dist_use_interface"/><c>inet_dist_use_interface = ip_address()</c></tag>
<item>
<p>If the host of an Erlang node has many network interfaces,
this parameter specifies which one to listen on. For the type definition
of <c>ip_address()</c>,
see <seeerl marker="inet"><c>inet(3)</c></seeerl>.</p>
</item>
- <tag><c>{inet_dist_listen_min, First}</c> and <c>{inet_dist_listen_max, Last}</c></tag>
+ <tag><marker id="inet_dist_listen"/><c>inet_dist_listen_min = First</c><br/><c>inet_dist_listen_max = Last</c></tag>
<item>
<p>Defines the <c>First..Last</c> port range for the listener
socket of a distributed Erlang node.</p>
</item>
- <tag><c>{inet_dist_listen_options, Opts}</c></tag>
+ <tag><marker id="inet_dist_listen_options"/><c>inet_dist_listen_options = Opts</c></tag>
<item>
- <marker id="inet_dist_listen_options"></marker>
<p>Defines a list of extra socket options to be used when opening the
listening socket for a distributed Erlang node.
See <seemfa marker="gen_tcp#listen/2"><c>gen_tcp:listen/2</c></seemfa>.</p>
</item>
- <tag><c>{inet_dist_connect_options, Opts}</c></tag>
+ <tag><marker id="inet_dist_connect_options"/><c>inet_dist_connect_options = Opts</c></tag>
<item>
- <marker id="inet_dist_connect_options"></marker>
<p>Defines a list of extra socket options to be used when connecting to
other distributed Erlang nodes.
See <seemfa marker="gen_tcp#connect/4"><c>gen_tcp:connect/4</c></seemfa>.</p>
--
2.34.1