File 1014-Eliminate-mentions-of-random-in-documentation.patch of Package erlang

From 41d147339c65d2b6dfcf60c1e63482612774bede Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Thu, 10 Dec 2015 15:45:55 +0100
Subject: [PATCH 14/15] Eliminate mentions of 'random' in documentation

---
 erts/doc/src/init.xml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/erts/doc/src/init.xml b/erts/doc/src/init.xml
index fe26df6..2a33096 100644
--- a/erts/doc/src/init.xml
+++ b/erts/doc/src/init.xml
@@ -247,10 +247,7 @@
           <c>Expr</c> during system initialization. If any of these
           steps fail (syntax error, parse error or exception during
           evaluation), Erlang stops with an error message. Here is an
-          example that seeds the random number generator:</p>
-        <pre>
-% <input>erl -eval '{X,Y,Z} = now(), random:seed(X,Y,Z).'</input></pre>
-        <p>This example uses Erlang as a hexadecimal calculator:</p>
+          example that uses Erlang as a hexadecimal calculator:</p>
         <pre>
 % <input>erl -noshell -eval 'R = 16#1F+16#A0, io:format("~.16B~n", [R])' \\</input>
 <input>-s erlang halt</input>
-- 
2.1.4

openSUSE Build Service is sponsored by