commit d0ce80dc6b5a41da926e902cb8b6a31c874b12bc
Author: zrj <[email protected]>
Date: Fri Aug 19 13:39:18 2016 +0300
Sync arc4random() with OpenBSD a bit.
Simplify calculation of "2**32 % upper_bound".
While there, perform some stylistic changes.
Taken-from: OpenBSD
Summary of changes:
lib/libc/gen/arc4random.c | 48 ++++++++++++++++-------------------------------
1 file changed, 16 insertions(+), 32 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d0ce80dc6b5a41da926e902cb8b6a31c874b12bc
--
DragonFly BSD source repository