Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2019 16:29:34 +0000 (UTC)
From:      Conrad Meyer <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r346566 - head/lib/libc/stdlib
Message-ID:  <201904221629.x3MGTYVQ006329@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904221629.x3MGTYVQ006329>