[libvirt] [PATCH] random: don't mix RAND_MAX with random_r

Eric Blake eblake at redhat.com
Fri Aug 30 00:16:18 UTC 2013


On 08/29/2013 05:17 PM, Eric Blake wrote:
> FreeBSD 10 recently changed their definition of RAND_MAX, to try
> and cover the fact that their evenly distributed results really are
> a smaller range than a full power of 2.  As a result, I did some
> investigation, and learned:

Disregard this one; looks like I hit send on two slightly different
versions, and the other one is better.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130829/7774b3f6/attachment-0001.sig>


More information about the libvir-list mailing list