0001-random-reinitialize-random-when-resetting.patch

proposed patch to fix (seems to work, needs review) - normalperson (Eric Wong), 03/15/2010 09:43 am

Download (722 Bytes)

b/random.c
1171 1171
    struct Random *r = &default_rand;
1172 1172
    uninit_genrand(&r->rnd.mt);
1173 1173
    r->rnd.seed = INT2FIX(0);
1174
    rand_init(&r->rnd.mt, random_seed());
1174 1175
}
1175 1176

  
1176 1177
void
1177
-