[vlc-devel] OpenBSD RNG Fix

Rémi Denis-Courmont remi at remlab.net
Tue May 12 17:21:52 CEST 2009

Le mardi 12 mai 2009 15:18:15 Joris van Rooij, vous avez écrit :
> Hello,
> The attached diff fixes the wrongful assumption that /dev/random is always
> available on OpenBSD. This caused VLC to drain system resources in an
> infinite loop, tripping over an EIO (read() wasn't checked) and trying
> again.
> It's a quick fix, so feel free to conjure up a nicer looking solution.

You might as well remove the OpenBSD specifics then...

Rémi Denis-Courmont

More information about the vlc-devel mailing list