Message158476
Patch looks good to me.
There's one other subtle bug in random_jumpahead, which is that it's not guaranteed that the resulting state is nonzero. The way to fix this is to add a line like the one near the end of the 'init_by_array' function.
mt[0] = 0x80000000UL; /* MSB is 1; assuring non-zero initial array */ |
|
Date |
User |
Action |
Args |
2012-04-16 16:00:24 | mark.dickinson | set | recipients:
+ mark.dickinson, rhettinger, serhiy.storchaka, Dave.Reid |
2012-04-16 16:00:24 | mark.dickinson | set | messageid: <1334592024.42.0.266207196919.issue14591@psf.upfronthosting.co.za> |
2012-04-16 16:00:19 | mark.dickinson | link | issue14591 messages |
2012-04-16 16:00:19 | mark.dickinson | create | |
|