]> git.pond.sub.org Git - empserver/commitdiff
Always seed with '1' instead of the supplied value of emp_srandom()
authorMarc Olzheim <marcolz@stack.nl>
Sun, 20 Jun 2004 17:14:56 +0000 (17:14 +0000)
committerMarc Olzheim <marcolz@stack.nl>
Sun, 20 Jun 2004 17:14:56 +0000 (17:14 +0000)
fot the nightly build.

src/scripts/nightly/patches/All/prng.patch

index 4bc4e080f06d9f0637b03daecbdc14be6897c0c8..c8a5ebb014a5f0028beafddadbeb79ff4b039fad 100644 (file)
@@ -172,7 +172,7 @@ Index: empserver/src/lib/gen/chance.c
 -    extern void srand48();
 -
 -    srand48(n);
-+    SRANDOM(n);
++    SRANDOM(1);
  }
  
  long