From owner-cvs-all Sat Feb 24 19: 6:44 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 82E4E37B491; Sat, 24 Feb 2001 19:06:40 -0800 (PST) (envelope-from nsayer@FreeBSD.org) Received: (from nsayer@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1P36eY37040; Sat, 24 Feb 2001 19:06:40 -0800 (PST) (envelope-from nsayer) Message-Id: <200102250306.f1P36eY37040@freefall.freebsd.org> From: Nick Sayer Date: Sat, 24 Feb 2001 19:06:40 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/astro/xglobe/files patch-random X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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