diff options
author | Jonas Holmberg <jonas.holmberg@axis.com> | 2009-09-01 10:39:52 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-09-01 10:39:52 +0200 |
commit | ec91d508af9fb359ebab7240497bd043d84d652e (patch) | |
tree | 91a669c1a7a7805038b5f16b3f9d8625773ae9a6 /sys | |
parent | e7368354d514117c05636fca816966caba5ce0ed (diff) |
basertppayload: Make instance init faster by not reading /dev/urandom 3 times
... which is the default seed when creating a new GRand. Because
GLib in older versions used buffered IO this would take a lot of time.
Instead use the global GRand for getting random numbers and keep the
three instance GRand for backward compatibility with a simple seed.
Fixes bug #593284.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions