RAND_MAX is power of 2

Littlefield, Tyler tyler at tysdomain.com
Wed Jun 7 18:34:48 UTC 2017


All:

I'm trying to find another solution to this and port this server to
FreeBSD. So far the only thing holding me up is that they want RAND_MAX
to be a power of 2, and I don't want to just change things without
knowing what I'm changing. Is there a reason for this?

The code is here:

https://pastebin.com/yeha7C8Y

Thanks,



More information about the freebsd-hackers mailing list