Re: svn commit: r345380 - head/lib/libc/gen

2019-03-22 Thread Bruce Evans
On Fri, 22 Mar 2019, Bruce Evans wrote: On Thu, 21 Mar 2019, Conrad Meyer wrote: Log: arc4random: Adjust example code to use uniform() API This changes the example from correct to broken. I see 4 bugs: I see many more (old but related) bugs. 1. The log message says that the example use

Re: svn commit: r345380 - head/lib/libc/gen

2019-03-21 Thread Bruce Evans
On Thu, 21 Mar 2019, Conrad Meyer wrote: Log: arc4random: Adjust example code to use uniform() API This changes the example from correct to broken. I see 4 bugs: 1. The log message says that the example uses uniform(), but it actually uses arc4random_uniform(). PR:236678

svn commit: r345380 - head/lib/libc/gen

2019-03-21 Thread Conrad Meyer
Author: cem Date: Thu Mar 21 14:45:08 2019 New Revision: 345380 URL: https://svnweb.freebsd.org/changeset/base/345380 Log: arc4random: Adjust example code to use uniform() API PR: 236678 Reported by: Andras Farkas Modified: head/lib/libc/gen/arc4random.3 Modified: head/lib