Mirar @ Pike developers forum wrote:
The random problem is still there in 7.7.133 from CVS:
| > random(100000000000000); | (2) Result: 2680839155 | > random(100000000000000); | (3) Result: 3417185356 | > random(100000000000000); | (4) Result: 1128133174 | > random(100000000000000); | (5) Result: 385923916
Technically this doesn't prove that this random problem is in fact not a random problem, but a deterministic one ;-). But I concur that it doesn't look good.
Have people been counting on the random generator of Pike to be generating reproducible sequences? If not, then we might overhaul the generator to simply use as much bits per call as is needed to generate up to the maximum requested.