File 0857-Document-erlang-display-may-print-internal-info.patch of Package erlang

From c38475b2ac2d3f77ea1ad2cf30c0401201adade9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Valim?= <jose.valim@dashbit.co>
Date: Fri, 21 Jan 2022 15:27:13 +0100
Subject: [PATCH] Document erlang:display() may print internal info

Closes #5585.
---
 erts/doc/src/erlang.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 8a2ecd0cb9..0b5b66b478 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -1783,7 +1783,9 @@ end</code>
         <p>Prints a text representation of <c><anno>Term</anno></c> on the
           standard output.</p>
         <warning>
-          <p>This BIF is intended for debugging only.</p>
+          <p>This BIF is intended for debugging only. The printed representation
+            may contain internal details that do not match the high-level
+            representation of the term in Erlang.</p>
         </warning>
       </desc>
     </func>
-- 
2.31.1

openSUSE Build Service is sponsored by