From owner-cvs-all Sat Feb 24 19:55:35 2001 Delivered-To: cvs-all@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id C066C37B401; Sat, 24 Feb 2001 19:55:25 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.1/8.11.1) with SMTP id f1P3tPh91666; Sat, 24 Feb 2001 22:55:25 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sat, 24 Feb 2001 22:55:24 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Nick Sayer Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/astro/xglobe/files patch-random In-Reply-To: <200102250306.f1P36eY37040@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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