Date: Sat, 24 Feb 2001 22:55:24 -0500 (EST) From: Robert Watson <rwatson@FreeBSD.org> To: Nick Sayer <nsayer@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/astro/xglobe/files patch-random Message-ID: <Pine.NEB.3.96L.1010224225440.85229W-100000@fledge.watson.org> In-Reply-To: <200102250306.f1P36eY37040@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hmm. I thought there was a BUGS section in rand(3), but apparently not -- I must be thinking of some other operating system. We need to add one, and I'm surprised there isn't one already. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Sat, 24 Feb 2001, Nick Sayer wrote: > nsayer 2001/02/24 19:06:40 PST > > Added files: > astro/xglobe/files patch-random > Log: > On my system(s), xglobe's stars show up in diagonal bands. I can only > conclude that rand() is not very random. This patch makes xglobe use > random() instead, and does a randomdev() in main() for good measure. > > Approved by: kris > > 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?Pine.NEB.3.96L.1010224225440.85229W-100000>