svn commit: r346566 - head/lib/libc/stdlib

Conrad Meyer cem at FreeBSD.org
Tue Sep 3 14:08:16 UTC 2019


Author: cem
Date: Mon Apr 22 16:29:34 2019
New Revision: 346566
URL: https://svnweb.freebsd.org/changeset/base/346566

Log:
  random.3: Remove obsolete BUGS section
  
  Relative performance to rand(3) is sort of irrelevant; they do different things
  and a user with sensitivity to RNG performance won't use libc random(3) anyway.
  
  The historical note about bad seeding is long obsolete, referring to a 1996 or
  earlier version of FreeBSD.
  
  Sponsored by:	Dell EMC Isilon

Modified:
  head/lib/libc/stdlib/random.3

Modified: head/lib/libc/stdlib/random.3
==============================================================================
--- head/lib/libc/stdlib/random.3	Mon Apr 22 16:26:39 2019	(r346565)
+++ head/lib/libc/stdlib/random.3	Mon Apr 22 16:29:34 2019	(r346566)
@@ -28,7 +28,7 @@
 .\"     @(#)random.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd April 15, 2019
+.Dd April 22, 2019
 .Dt RANDOM 3
 .Os
 .Sh NAME
@@ -187,11 +187,3 @@ functions appeared in
 .Bx 4.2 .
 .Sh AUTHORS
 .An Earl T. Cohen
-.Sh BUGS
-About 2/3 the speed of
-.Xr rand 3 .
-.Pp
-The historical implementation used to have a very weak seeding; the
-random sequence did not vary much with the seed.
-The current implementation employs a better pseudo-random number
-generator for the initial state calculation.




More information about the svn-src-all mailing list