File 1139-Remove-unused-Cookie-from-ControlMessage-in-the-dist.patch of Package erlang
From 0cf97f4d5c6a3c30dd7d8e200188001442b3822c Mon Sep 17 00:00:00 2001
From: Zandra Hird <zandra@erlang.org>
Date: Thu, 16 Jun 2016 14:59:31 +0200
Subject: [PATCH] Remove unused Cookie from ControlMessage in the dist protocol
doc
The Cookie was removed a long time ago, but the documentation was
not updated accordingly.
---
erts/doc/src/erl_dist_protocol.xml | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/erts/doc/src/erl_dist_protocol.xml b/erts/doc/src/erl_dist_protocol.xml
index f9fa981..25f601a 100644
--- a/erts/doc/src/erl_dist_protocol.xml
+++ b/erts/doc/src/erl_dist_protocol.xml
@@ -930,11 +930,14 @@ DiB == gen_digest(ChA,ICA) ?
<tag><c>SEND</c></tag>
<item>
<p>
- <c>{2, Cookie, ToPid}</c>
+ <c>{2, Unused, ToPid}</c>
</p>
<p>
<em>Note</em> followed by <c>Message</c>
</p>
+ <p>
+ <c>Unused</c> is kept for backward compatibility
+ </p>
</item>
<tag><c>EXIT</c></tag>
@@ -961,11 +964,14 @@ DiB == gen_digest(ChA,ICA) ?
<tag><c>REG_SEND</c></tag>
<item>
<p>
- <c>{6, FromPid, Cookie, ToName}</c>
+ <c>{6, FromPid, Unused, ToName}</c>
</p>
<p>
<em>Note</em> followed by <c>Message</c>
</p>
+ <p>
+ <c>Unused</c> is kept for backward compatibility
+ </p>
</item>
<tag><c>GROUP_LEADER</c></tag>
@@ -991,11 +997,14 @@ DiB == gen_digest(ChA,ICA) ?
<tag><c>SEND_TT</c></tag>
<item>
<p>
- <c>{12, Cookie, ToPid, TraceToken}</c>
+ <c>{12, Unused, ToPid, TraceToken}</c>
</p>
<p>
<em>Note</em> followed by <c>Message</c>
</p>
+ <p>
+ <c>Unused</c> is kept for backward compatibility
+ </p>
</item>
<tag><c>EXIT_TT</c></tag>
@@ -1008,11 +1017,14 @@ DiB == gen_digest(ChA,ICA) ?
<tag><c>REG_SEND_TT</c></tag>
<item>
<p>
- <c>{16, FromPid, Cookie, ToName, TraceToken}</c>
+ <c>{16, FromPid, Unused, ToName, TraceToken}</c>
</p>
<p>
<em>Note</em> followed by <c>Message</c>
</p>
+ <p>
+ <c>Unused</c> is kept for backward compatibility
+ </p>
</item>
<tag><c>EXIT2_TT</c></tag>
--
2.1.4