Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 00:50:04 +0300
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        arch@FreeBSD.ORG
Cc:        "Jacques A. Vidrine" <n@nectar.com>, Matt Dillon <dillon@earth.backplane.com>, Bruce Evans <bde@zeta.org.au>, Kris Kennaway <kris@obsecurity.org>, Robert Watson <rwatson@FreeBSD.ORG>, Nick Sayer <nsayer@FreeBSD.ORG>, cvs-all@FreeBSD.ORG
Subject:   Re: rand.c patch for review (was: Re: cvs commit: ports/astro/xglobe/files patch-random)
Message-ID:  <20010226005004.B59772@nagual.pp.ru>
In-Reply-To: <20010225132152.A39554@mollari.cthul.hu>; from kris@obsecurity.org on Sun, Feb 25, 2001 at 01:21:52PM -0800
References:  <Pine.BSF.4.21.0102251920150.6561-100000@besplex.bde.org> <200102250900.f1P90Qc12868@earth.backplane.com> <20010225092416.A46959@hamlet.nectar.com> <20010225185535.A55782@nagual.pp.ru> <20010225191316.A56093@nagual.pp.ru> <20010225193409.A56351@nagual.pp.ru> <20010225131002.A38192@mollari.cthul.hu> <20010225132152.A39554@mollari.cthul.hu>

next in thread | previous in thread | raw e-mail | index | archive | help

--GID0FwUMdk1T2AWN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Feb 25, 2001 at 13:21:52 -0800, Kris Kennaway wrote:
> Nevermind, I read the followup about needing to have independent
> state.  I think you should duplicate the rest of the random() and
> srandom() stuff, not just good_rand() -- random.c does more work to
> seed things, for example, which I'd feel better about.  Also, document
> in rand.c and random.c that they should be kept in sync modulo the
> missing srandomdev() code.

Maybe, but only in case we need to care about rand() distribution _so_
match, I am not sure. Every manual nowdays marks rand() as deprecated.

--=20
Andrey A. Chernov
http://ache.pp.ru/

--GID0FwUMdk1T2AWN
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia

iQCVAwUBOpl+DOJgpPLZnQjrAQFeBwQA6v0a6Ijih2mMqXPrWM0tONoGyenKitW1
4zPmc8yPFBjW+axRzad7aDfIvT5IUlPzEfg3Hj4jO2orCydW2hhkXmZH3OPNMKq5
/5L6YCD8JdmfjqzHhn1UnWrikqWRahA8Z2MRuw21F/hNswIDrTUm0VFG/iosvY3H
ljOWkWnMNKI=
=nchk
-----END PGP SIGNATURE-----

--GID0FwUMdk1T2AWN--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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