From b075fbda0ad0a711344011fb365b00acd5b64760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Wed, 3 Apr 2019 13:20:37 +0200 Subject: Fix broken links A multitude of broken links were found when a bug was fixed in the link checker. --- lib/common_test/doc/src/ct_master.xml | 2 +- lib/common_test/doc/src/event_handler_chapter.xml | 2 +- lib/erl_docgen/src/docgen_xmerl_xml_cb.erl | 1 + lib/jinterface/doc/src/jinterface_users_guide.xml | 8 ++++---- lib/kernel/doc/src/application.xml | 2 +- lib/kernel/doc/src/auth.xml | 6 +++--- lib/kernel/doc/src/erl_ddll.xml | 4 ++-- lib/kernel/doc/src/gen_sctp.xml | 2 +- lib/kernel/doc/src/logger_chapter.xml | 2 +- lib/public_key/doc/src/public_key.xml | 3 ++- lib/stdlib/doc/src/dets.xml | 4 ++-- lib/stdlib/doc/src/digraph_utils.xml | 2 +- lib/stdlib/doc/src/proc_lib.xml | 2 +- lib/stdlib/doc/src/slave.xml | 4 ++-- 14 files changed, 23 insertions(+), 21 deletions(-) (limited to 'lib') diff --git a/lib/common_test/doc/src/ct_master.xml b/lib/common_test/doc/src/ct_master.xml index 2ab421fe9e..f003b7de11 100644 --- a/lib/common_test/doc/src/ct_master.xml +++ b/lib/common_test/doc/src/ct_master.xml @@ -210,7 +210,7 @@

Tests are spawned on Node using - ct:run_test/1

+ ct:run_test/1

diff --git a/lib/common_test/doc/src/event_handler_chapter.xml b/lib/common_test/doc/src/event_handler_chapter.xml index bd9ed21cb4..182abba7ca 100644 --- a/lib/common_test/doc/src/event_handler_chapter.xml +++ b/lib/common_test/doc/src/event_handler_chapter.xml @@ -378,7 +378,7 @@

To ensure that printouts to stdout (or printouts made with ct:log/2,3 or - ct:pal,2,3) get written to the test case log + ct:pal,2,3) get written to the test case log file, and not to the Common Test framework log, you can synchronize with the Common Test server by matching on evvents tc_start and tc_done. In the period between these events, all I/O is directed to the diff --git a/lib/erl_docgen/src/docgen_xmerl_xml_cb.erl b/lib/erl_docgen/src/docgen_xmerl_xml_cb.erl index 59d4dccfb7..9d69143c3c 100644 --- a/lib/erl_docgen/src/docgen_xmerl_xml_cb.erl +++ b/lib/erl_docgen/src/docgen_xmerl_xml_cb.erl @@ -87,6 +87,7 @@ convert_tag(underline, Attrs) -> {em, Attrs}; convert_tag(Tag, Attrs) -> {Tag, Attrs}. is_url("http:"++_) -> true; +is_url("https:"++_) -> true; is_url("../"++_) -> true; is_url(FileRef) -> case filename:extension(FileRef) of diff --git a/lib/jinterface/doc/src/jinterface_users_guide.xml b/lib/jinterface/doc/src/jinterface_users_guide.xml index 56f88124bf..504c77f339 100644 --- a/lib/jinterface/doc/src/jinterface_users_guide.xml +++ b/lib/jinterface/doc/src/jinterface_users_guide.xml @@ -366,20 +366,20 @@ OtpNode node = new OtpNode("gurka"); OtpEpmd class. Nodes wishing to contact other nodes must first request information from Epmd before a connection can be set up, however this is done automatically - by OtpSelf.connect() when necessary.

-

When you use OtpSelf.connect() to connect to an Erlang node, + by OtpSelf.connect() when necessary.

+

When you use OtpSelf.connect() to connect to an Erlang node, a connection is first made to epmd and, if the node is known, a connection is then made to the Erlang node.

Java nodes can also register themselves with epmd if they want other nodes in the system to be able to find and connect to them. - This is done by call to method OtpEpmd.publishPort().

+ This is done by call to method OtpEpmd.publishPort().

Be aware that on some systems (such as VxWorks), a failed node will not be detected by this mechanism since the operating system does not automatically close descriptors that were left open when the node failed. If a node has failed in this way, epmd will prevent you from registering a new node with the old name, since it thinks that the old name is still in use. In this case, you must unregister the name - explicitly, by using OtpEpmd.unPublishPort()

+ explicitly, by using OtpEpmd.unPublishPort()

This will cause epmd to close the connection from the far end. Note that if the name was in fact still in use by a node, the results of this operation are unpredictable. Also, doing this does not cause the diff --git a/lib/kernel/doc/src/application.xml b/lib/kernel/doc/src/application.xml index 83a83ebad2..f4ec2c610f 100644 --- a/lib/kernel/doc/src/application.xml +++ b/lib/kernel/doc/src/application.xml @@ -582,7 +582,7 @@ Nodes = [cp1@cave, {cp2@cave, cp3@cave}] the primary application) for the primary application and all included applications, for which the start phase is defined.

For a description of StartType, see - Module:start/2.

+ Module:start/2.

diff --git a/lib/kernel/doc/src/auth.xml b/lib/kernel/doc/src/auth.xml index a57da18de9..c735d02fed 100644 --- a/lib/kernel/doc/src/auth.xml +++ b/lib/kernel/doc/src/auth.xml @@ -46,7 +46,7 @@ Magic cookie for local node (deprecated).

Use - erlang:get_cookie() + erlang:get_cookie() in ERTS instead.

@@ -58,7 +58,7 @@

Use - erlang:set_cookie(node(), Cookie) + erlang:set_cookie(node(), Cookie) in ERTS instead.

@@ -94,7 +94,7 @@

Sets the magic cookie of Node to Cookie and verifies the status of the authorization. Equivalent to calling - erlang:set_cookie(Node, Cookie), followed by + erlang:set_cookie(Node, Cookie), followed by auth:is_auth(Node).

diff --git a/lib/kernel/doc/src/erl_ddll.xml b/lib/kernel/doc/src/erl_ddll.xml index f2d5e1b397..52d5bcd079 100644 --- a/lib/kernel/doc/src/erl_ddll.xml +++ b/lib/kernel/doc/src/erl_ddll.xml @@ -200,7 +200,7 @@ Remove a monitor for a driver.

Removes a driver monitor in much the same way as - erlang:demonitor/1 + erlang:demonitor/1 in ERTS does with process monitors. For details about how to create driver monitors, see @@ -430,7 +430,7 @@

Creates a driver monitor and works in many ways as - erlang:monitor/2 + erlang:monitor/2 in ERTS, does for processes. When a driver changes state, the monitor results in a monitor message that is sent to the calling diff --git a/lib/kernel/doc/src/gen_sctp.xml b/lib/kernel/doc/src/gen_sctp.xml index f70d6c24db..61ac1485c1 100644 --- a/lib/kernel/doc/src/gen_sctp.xml +++ b/lib/kernel/doc/src/gen_sctp.xml @@ -253,7 +253,7 @@ connect(Socket, Ip, Port>,

Assigns a new controlling process Pid to Socket. Same implementation as - gen_udp:controlling_process/2. + gen_udp:controlling_process/2.

diff --git a/lib/kernel/doc/src/logger_chapter.xml b/lib/kernel/doc/src/logger_chapter.xml index 8458ffa042..1aa4b7a3a2 100644 --- a/lib/kernel/doc/src/logger_chapter.xml +++ b/lib/kernel/doc/src/logger_chapter.xml @@ -718,7 +718,7 @@ logger:debug(#{got => connection_request, id => Id, state => State},

For all other values of HandlerId, this entry adds a new handler, equivalent to calling

-

+	    

 		logger:add_handler(HandlerId, Module, HandlerConfig)
 	    

Multiple entries of this type are allowed.

diff --git a/lib/public_key/doc/src/public_key.xml b/lib/public_key/doc/src/public_key.xml index fb81ea68a4..8db5620686 100644 --- a/lib/public_key/doc/src/public_key.xml +++ b/lib/public_key/doc/src/public_key.xml @@ -813,7 +813,8 @@ fun(#'DistributionPoint'{}, #'CertificateList'{},

The {OtherRefId,term()} is defined by the user and is passed to the match_fun, if defined. If the term in OtherRefId is a binary, it will be converted to a string.

-

The ip Reference ID takes an inet:ip_address() +

The ip Reference ID takes an + inet:ip_address() or an ip address in string format (E.g "10.0.1.1" or "1234::5678:9012") as second element.

The options are:

diff --git a/lib/stdlib/doc/src/dets.xml b/lib/stdlib/doc/src/dets.xml index 8e4e002000..8b9502a3b1 100644 --- a/lib/stdlib/doc/src/dets.xml +++ b/lib/stdlib/doc/src/dets.xml @@ -1090,8 +1090,8 @@ ok

select - The table is traversed by calling - dets:select/3 and - dets:select/1. + dets:select/3 and + dets:select/1. Option n_objects determines the number of objects returned (the third argument of select/3). The match specification (the second argument of diff --git a/lib/stdlib/doc/src/digraph_utils.xml b/lib/stdlib/doc/src/digraph_utils.xml index 13b0aaad9e..a23b02c6c1 100644 --- a/lib/stdlib/doc/src/digraph_utils.xml +++ b/lib/stdlib/doc/src/digraph_utils.xml @@ -371,7 +371,7 @@ the default, the type of Digraph is used for the subgraph as well. Otherwise the option value of type is used as argument to - digraph:new/1.

+ digraph:new/1.

If the value of option keep_labels is true, which is the default, the labels of vertices and edges diff --git a/lib/stdlib/doc/src/proc_lib.xml b/lib/stdlib/doc/src/proc_lib.xml index aeb9f48735..bb983903a9 100644 --- a/lib/stdlib/doc/src/proc_lib.xml +++ b/lib/stdlib/doc/src/proc_lib.xml @@ -166,7 +166,7 @@ Hibernate a process until a message is sent to it.

This function does the same as (and does call) the - + hibernate/3 BIF, but ensures that exception handling and logging continues to work as expected when the process wakes up.

diff --git a/lib/stdlib/doc/src/slave.xml b/lib/stdlib/doc/src/slave.xml index 778c5f66e5..f9e42ad47d 100644 --- a/lib/stdlib/doc/src/slave.xml +++ b/lib/stdlib/doc/src/slave.xml @@ -51,7 +51,7 @@

An alternative to the ssh program can be specified on the command line to - erl(1) as follows:

+ erl(1) as follows:

 -rsh Program
@@ -140,7 +140,7 @@ rpc:call(N, slave, pseudo, [node(), [pxw_server]]).

Argument Args is used to set erl command-line arguments. If provided, it is passed to the new node and can be used for a variety of purposes; see - erl(1).

+ erl(1).

As an example, suppose that you want to start a slave node at host H with node name Name@H and want the slave node to have the following properties:

-- cgit v1.2.3