From owner-cvs-all Tue Apr 24 12:43: 5 2001 Delivered-To: cvs-all@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-27.dsl.lsan03.pacbell.net [63.207.60.27]) by hub.freebsd.org (Postfix) with ESMTP id EE94737B42C; Tue, 24 Apr 2001 12:42:57 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 962EC66DF6; Tue, 24 Apr 2001 12:42:57 -0700 (PDT) Date: Tue, 24 Apr 2001 12:42:57 -0700 From: Kris Kennaway To: "Andrey A. Chernov" Cc: Kris Kennaway , Garrett Wollman , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/stdlib rand.3 rand.c Message-ID: <20010424124257.B90739@xor.obsecurity.org> References: <200104230229.f3N2TA082491@freefall.freebsd.org> <200104241743.NAA97478@khavrinen.lcs.mit.edu> <20010424220826.A85409@nagual.pp.ru> <20010424121555.D89819@xor.obsecurity.org> <20010424233423.C9553@nagual.pp.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="24zk1gE8NUlDmwG9" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010424233423.C9553@nagual.pp.ru>; from ache@nagual.pp.ru on Tue, Apr 24, 2001 at 11:34:24PM +0400 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --24zk1gE8NUlDmwG9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 24, 2001 at 11:34:24PM +0400, Andrey A. Chernov wrote: > On Tue, Apr 24, 2001 at 12:15:55 -0700, Kris Kennaway wrote: > > Could you give an example where it's difficult to replace rand() with > > random() or arc4random()? I've never encountered one. >=20 > Of course, I mean not impossible :-) Is is as difficult as replacing many > occurances in many files with examination of each of them, then keeping > all that diffs somewhere and applying them for new releases again. >=20 > This particular reason is minor and not important - other ones I mention > are more important. Well, actually this seemed to me to be the only plausible reason from those you gave :-) I expect this function will get basically zero usage, but on the other hand it's not harming anyone.. Kris --24zk1gE8NUlDmwG9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE65ddAWry0BWjoQKURAmLSAJ0Yf48Lh9v98kDGYfX2x3CCKoRUZwCghj3+ X+7LVHVWDIfmzvWY22cyInc= =I9f+ -----END PGP SIGNATURE----- --24zk1gE8NUlDmwG9-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message