File 0523-erl_ext_dist-Clarify-the-location-of-LongAtoms.patch of Package erlang

From 3a7f05757b68252a048da0e2c9b612e861ab37cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= <essen@ninenines.eu>
Date: Wed, 2 Sep 2020 12:14:31 +0200
Subject: [PATCH] erl_ext_dist: Clarify the location of LongAtoms

The LongAtoms flag fields does not always follow
the atom cache references on the wire.
---
 erts/doc/src/erl_ext_dist.xml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/erts/doc/src/erl_ext_dist.xml b/erts/doc/src/erl_ext_dist.xml
index 099aa58b0f..b4357df4cd 100644
--- a/erts/doc/src/erl_ext_dist.xml
+++ b/erts/doc/src/erl_ext_dist.xml
@@ -217,8 +217,13 @@
         256, that is, an atom cache can contain 2048 entries.
       </p>
       <p>
-        After flag fields for atom cache references, another half byte flag
-        field is located with the following format:
+        Another half byte flag field is located along with flag fields for
+        atom cache references. When <c>NumberOfAtomCacheRefs</c> is even,
+        this half byte is the least significant half byte of the byte that
+        follows the atom cache references. When <c>NumberOfAtomCacheRefs</c>
+        is odd, this half byte is the most significant half byte of the last
+        byte of the atom cache references (on the wire, it will appear before
+        the last cache reference). It has the following format:
       </p>
       <table align="left">
         <row>
-- 
2.26.2

openSUSE Build Service is sponsored by