[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] non-random seeding
From: |
Joern Thyssen |
Subject: |
Re: [Bug-gnubg] non-random seeding |
Date: |
Mon, 19 Jul 2004 08:06:40 +0000 |
User-agent: |
Mutt/1.4.2.1i |
On Sun, Jul 18, 2004 at 09:33:50PM +0200, Jim Segrave wrote
> As I posted on GOL I think it's a bug. The call to InitRNG to set up
> the rollout RNG in gnubg.c specicially tells it not to initialise the
> seed. It then xor's the seed with a magic number.
>
> Possible solutions:
>
> 1) change the fSet paramter in the call to TRUE
Committed.
The call to InitRNG for the rollout seed was introduced in gnubg.c
1.109, and had fSet = FALSE!
So this bug has been here all along. However, maybe your fix in
gtkgame.c
(http://savannah.gnu.org/cgi-bin/viewcvs/gnubg/gnubg/gtkgame.c.diff?r1=1.399&r2=1.400&sortby=date)
is the reason why it pops up now?
Joern
pgpryorDU_18m.pgp
Description: PGP signature