mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
b=327161, uuidgenerator stuff, attempt to fix btek from previous checkin, r=bz
This commit is contained in:
parent
cd70f66472
commit
f6f7a4a6d7
@ -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().
|
||||
|
Loading…
Reference in New Issue
Block a user