Make sure that the same prng is used on all systems, namely *rand48().

For now, only fairland.c is "fixed".  We'll have to patch the random
calls in the server to use the RANDOM and SRANDOM macros to make
things completely reproducible.
This commit is contained in:
Marc Olzheim 2004-06-19 13:54:49 +00:00
parent e68dba6d23
commit 17c4546ec6

View file

@ -0,0 +1,9 @@
Index: empserver/Make.sysdefs
--- empserver/Make.sysdefs Sun Mar 21 16:44:42 2004
+++ empserver/Make.sysdefs Sat Jun 19 15:45:43 2004
@@ -158,3 +158,5 @@
VAXULTCFLAGS = -O -DNOSTRDUP -DPOSIXSIGNALS
VAXULTLFLAGS =
VAXULTMASTER = GLOBALCFLAGS="$(VAXULTCFLAGS)" GLOBALLFLAGS="$(VAXULTLFLAGS)"
+
+GLOBALLFLAGS += -DRANDOM=rand48 -DSRANDOM=srand48