Hi,

Am Sonntag, den 21.03.2010, 20:56 +0100 schrieb Stephan Renatus:
> I noticed the same behaviour of unicode-screensaver and tried to fix
> it -- I think what might have been missing was the initializiation of
> the PRNG with some seed.

What is the correct way to initialize the seed?

> The following patch works around this issue by using
> arc4random_uniform() instead of random() (according to arc4random(3)
> this avoids "modulo bias") from libbsd-dev (what would be another
> dependency, tho).

Thanks for the patch. I would prefer to not add additional dependencies,
if it can be helped, though.

Greetings,
Joachim
-- 
Joachim "nomeata" Breitner
Debian Developer
  nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to