From 205cc29241a17736ab93d82459a19fece7ba7b20 Mon Sep 17 00:00:00 2001 From: Cristian Greco Date: Fri, 16 Jul 2010 11:50:55 +0200 Subject: Fix minor typos and errors in documentation --- lib/erl_interface/doc/src/ei_connect.xml | 2 +- lib/kernel/doc/src/code.xml | 2 +- lib/megaco/doc/src/megaco.xml | 4 ++-- lib/megaco/doc/src/megaco_flex_scanner.xml | 2 +- lib/megaco/doc/src/megaco_user.xml | 2 +- lib/odbc/doc/src/databases.xml | 2 +- lib/snmp/doc/src/snmpa.xml | 4 ++-- lib/ssl/doc/src/notes.xml | 2 +- lib/stdlib/doc/src/lists.xml | 2 +- lib/stdlib/doc/src/sofs.xml | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/erl_interface/doc/src/ei_connect.xml b/lib/erl_interface/doc/src/ei_connect.xml index abf705f9e2..927395d1bf 100644 --- a/lib/erl_interface/doc/src/ei_connect.xml +++ b/lib/erl_interface/doc/src/ei_connect.xml @@ -54,7 +54,7 @@ the operation, if the primitive does not complete within the time specified, the function will return an error and will be set to . With - communication primitive is ment an operation on the socket, like + communication primitive is meant an operation on the socket, like , , or .

Obviously the timeouts are for implementing fault tolerance, not to keep hard realtime promises. The functions diff --git a/lib/kernel/doc/src/code.xml b/lib/kernel/doc/src/code.xml index 19e1d3221c..b8db509fa8 100644 --- a/lib/kernel/doc/src/code.xml +++ b/lib/kernel/doc/src/code.xml @@ -54,7 +54,7 @@ for and tries to load the module.

-

To prevent accidentaly reloading modules affecting the Erlang +

To prevent accidentally reloading modules affecting the Erlang runtime system itself, the kernel, stdlib and compiler directories are considered sticky. This means that the system issues a warning and rejects the request if diff --git a/lib/megaco/doc/src/megaco.xml b/lib/megaco/doc/src/megaco.xml index ae9e250965..b9bf414299 100644 --- a/lib/megaco/doc/src/megaco.xml +++ b/lib/megaco/doc/src/megaco.xml @@ -662,7 +662,7 @@ megaco_incr_timer() = #megaco_incr_timer{} -

Do not segment outgoing reply messages. This is usefull when +

Do not segment outgoing reply messages. This is useful when either it is known that messages are never to large or that the transport protocol can handle such things on its own (e.g. TCP or SCTP).

@@ -1182,7 +1182,7 @@ megaco_incr_timer() = #megaco_incr_timer{} -

Do not segment outgoing reply messages. This is usefull when +

Do not segment outgoing reply messages. This is useful when either it is known that messages are never to large or that the transport protocol can handle such things on its own (e.g. TCP or SCTP).

diff --git a/lib/megaco/doc/src/megaco_flex_scanner.xml b/lib/megaco/doc/src/megaco_flex_scanner.xml index eb206e5d13..18c40bb71a 100644 --- a/lib/megaco/doc/src/megaco_flex_scanner.xml +++ b/lib/megaco/doc/src/megaco_flex_scanner.xml @@ -128,7 +128,7 @@ megaco_version() = integer() >= 1 Boolean = boolean() -

Checks if a port is a flex scanner port or not (usefull when +

Checks if a port is a flex scanner port or not (useful when if a port exits).

diff --git a/lib/megaco/doc/src/megaco_user.xml b/lib/megaco/doc/src/megaco_user.xml index 7332fa684d..7987ed3392 100644 --- a/lib/megaco/doc/src/megaco_user.xml +++ b/lib/megaco/doc/src/megaco_user.xml @@ -504,7 +504,7 @@ protocol_version() = integer() ]]> not, is also included in the .

The defaults to , - but may be explicitely overridden by a + but may be explicitly overridden by a option in order to forward info about the calling context of the originating process.

At , the either contains:

diff --git a/lib/odbc/doc/src/databases.xml b/lib/odbc/doc/src/databases.xml index 9776736909..a6ba0e5245 100644 --- a/lib/odbc/doc/src/databases.xml +++ b/lib/odbc/doc/src/databases.xml @@ -258,7 +258,7 @@ when p >= 16 that contains more than one SQL query. For example, the following SQLServer-specific statement creates a procedure that returns a result set containing information about employees - that work at the department and and a result set listing the + that work at the department and a result set listing the customers of that department.

CREATE PROCEDURE DepartmentInfo (@DepartmentID INT) AS diff --git a/lib/snmp/doc/src/snmpa.xml b/lib/snmp/doc/src/snmpa.xml index 1be6abe6dd..f546724a78 100644 --- a/lib/snmp/doc/src/snmpa.xml +++ b/lib/snmp/doc/src/snmpa.xml @@ -1233,7 +1233,7 @@ snmp_agent:register_subagent(SA1,[1,2,3], SA2).

Restart the worker process of a multi-threaded agent.

-

This is a utility function, that can be usefull when +

This is a utility function, that can be useful when e.g. debugging instrumentation functions.

@@ -1249,7 +1249,7 @@ snmp_agent:register_subagent(SA1,[1,2,3], SA2).

Restart the set worker process of a multi-threaded agent.

-

This is a utility function, that can be usefull when +

This is a utility function, that can be useful when e.g. debugging instrumentation functions.

diff --git a/lib/ssl/doc/src/notes.xml b/lib/ssl/doc/src/notes.xml index 151b685941..95e968aa22 100644 --- a/lib/ssl/doc/src/notes.xml +++ b/lib/ssl/doc/src/notes.xml @@ -819,7 +819,7 @@ Fixed Bugs and Malfunctions -

When a file descriptor was marked for closing, and and +

When a file descriptor was marked for closing, and end-of-file condition had already been detected, the file descriptor was never closed.

Own Id: OTP-5093 Aux Id: seq8806

diff --git a/lib/stdlib/doc/src/lists.xml b/lib/stdlib/doc/src/lists.xml index a273a2301f..b3ad7aaf46 100644 --- a/lib/stdlib/doc/src/lists.xml +++ b/lib/stdlib/doc/src/lists.xml @@ -48,7 +48,7 @@

if x F y and y F x then x = y (F is antisymmetric);

-

if x F y and and y F z then x F z +

if x F y and y F z then x F z (F is transitive);

x F y or y F x (F is total).

diff --git a/lib/stdlib/doc/src/sofs.xml b/lib/stdlib/doc/src/sofs.xml index 8c8ae51262..729df1e678 100644 --- a/lib/stdlib/doc/src/sofs.xml +++ b/lib/stdlib/doc/src/sofs.xml @@ -210,7 +210,7 @@ X[i] to Y[i] and S a subset of X[1] × ... × X[n]. The multiple - relative product of TR and and S is defined to be the + relative product of TR and S is defined to be the set {z : z = ((x[1], ..., x[n]), (y[1],...,y[n])) for some (x[1], ..., x[n]) in S and for some (x[i], y[i]) in R[i], -- cgit v1.2.3