b=327161, uuidgenerator stuff, attempt to fix btek from previous checkin, r=bz
git-svn-id: svn://10.0.0.236/trunk@207377 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -90,6 +90,11 @@ nsUUIDGenerator::Init()
|
||||
bytes += nbytes;
|
||||
}
|
||||
|
||||
// call random once for the side effect of initializing
|
||||
// glibc's internal state, so that initstate doesn't
|
||||
// return NULL
|
||||
random();
|
||||
|
||||
/* Initialize a new RNG state, and immediately switch
|
||||
* back to the previous one -- we want to use mState
|
||||
* only for our own calls to random().
|
||||
|
||||
Reference in New Issue
Block a user