From e358cf28e437d142538802a385def45a3282c40b Mon Sep 17 00:00:00 2001 From: Leandro Cesquini Pereira Date: Mon, 10 Jun 2019 12:22:26 -0300 Subject: Fix duplicated word "to" on Common Caveats doc --- system/doc/efficiency_guide/commoncaveats.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/doc/efficiency_guide/commoncaveats.xml b/system/doc/efficiency_guide/commoncaveats.xml index 7b2128d888..7b00fa5d63 100644 --- a/system/doc/efficiency_guide/commoncaveats.xml +++ b/system/doc/efficiency_guide/commoncaveats.xml @@ -62,7 +62,7 @@ dangerous in a system that runs continuously. If only certain well-defined atoms are allowed as input, list_to_existing_atom/1 - can be used to + can be used to guard against a denial-of-service attack. (All atoms that are allowed must have been created earlier, for example, by simply using all of them in a module and loading that module.)

-- cgit v1.2.3 From 0750043956a9c0e73a42d37a9750ea5e0070bedc Mon Sep 17 00:00:00 2001 From: Magnus Henoch Date: Wed, 12 Jun 2019 10:37:11 +0100 Subject: Fix some documentation typos --- erts/doc/src/crash_dump.xml | 2 +- erts/doc/src/driver.xml | 2 +- erts/doc/src/erl_ext_dist.xml | 4 ++-- erts/doc/src/zlib.xml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/erts/doc/src/crash_dump.xml b/erts/doc/src/crash_dump.xml index 33d0903622..876834307a 100644 --- a/erts/doc/src/crash_dump.xml +++ b/erts/doc/src/crash_dump.xml @@ -289,7 +289,7 @@ Slogan: <reason> Memory Information

Under the tag =memory is shown information similar - to what can be obtainted on a living node with + to what can be obtained on a living node with erlang:memory().

diff --git a/erts/doc/src/driver.xml b/erts/doc/src/driver.xml index 8f31df4cad..a873bf9931 100644 --- a/erts/doc/src/driver.xml +++ b/erts/doc/src/driver.xml @@ -391,7 +391,7 @@ void encode_result(ei_x_buff* x, PGresult* res, PGconn* conn)

Before a driver can be called from Erlang, it must be loaded and opened. Loading is done using the module (the driver that loads dynamic - driver is actually a driver itself). If loading is successfull, + driver is actually a driver itself). If loading is successful, the port can be opened with . The port name must match the name of the shared library and the name in the driver entry structure.

diff --git a/erts/doc/src/erl_ext_dist.xml b/erts/doc/src/erl_ext_dist.xml index 3730f0e8ac..2ba5994557 100644 --- a/erts/doc/src/erl_ext_dist.xml +++ b/erts/doc/src/erl_ext_dist.xml @@ -128,7 +128,7 @@ are deprecated and are only kept for backward compatibility when decoding terms encoded by older nodes.

Support for UTF-8 encoded atoms in the external format has been - available since ERTS 5.10 (OTP R16). This abillity allows such old nodes + available since ERTS 5.10 (OTP R16). This ability allows such old nodes to decode, store and encode any Unicode atoms received from a new OTP 20 node.

The maximum number of allowed characters in an atom is 255. In the @@ -913,7 +913,7 @@ SMALL_BIG_EXT

Bignums are stored in unary form with a Sign byte, - that is, 0 if the binum is positive and 1 if it is negative. The + that is, 0 if the bignum is positive and 1 if it is negative. The digits are stored with the least significant byte stored first. To calculate the integer, the following formula can be used:

diff --git a/erts/doc/src/zlib.xml b/erts/doc/src/zlib.xml index 38229456c9..8a580c8d7b 100644 --- a/erts/doc/src/zlib.xml +++ b/erts/doc/src/zlib.xml @@ -411,7 +411,7 @@ list_to_binary([B1,B2]) - Dynamicly update deflate parameters. + Dynamically update deflate parameters.

Dynamically updates the compression level and compression strategy. The interpretation of Level and -- cgit v1.2.3