[latex3-commits] [l3svn] branch master updated: \sys_rand_seed: should return 0 for engines without the RNG

noreply at latex-project.org noreply at latex-project.org
Sat Aug 26 11:30:36 CEST 2017


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

The following commit(s) were added to refs/heads/master by this push:
       new  0db34be   \sys_rand_seed: should return 0 for engines without the RNG
0db34be is described below

commit 0db34beb3d463f1f99ad7f9299c935d463ce28e3
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat Aug 26 10:29:46 2017 +0100

    \sys_rand_seed: should return 0 for engines without the RNG
---
 l3kernel/l3candidates.dtx |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/l3kernel/l3candidates.dtx b/l3kernel/l3candidates.dtx
index 9b161a6..1927079 100644
--- a/l3kernel/l3candidates.dtx
+++ b/l3kernel/l3candidates.dtx
@@ -2158,6 +2158,8 @@
 %   Unpack the primitive.
 %    \begin{macrocode}
 \cs_new:Npn \sys_rand_seed: { \tex_the:D \pdftex_randomseed:D }
+\cs_if_exist:NF \pdftex_randomseed:D
+  { \cs_set:Npn \sys_rand_seed: { 0 } }
 %    \end{macrocode}
 % \end{macro}
 %

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list