From owner-cvs-all Fri Jan 12 10:27: 3 2001 Delivered-To: cvs-all@freebsd.org Received: from gratis.grondar.za (grouter.grondar.za [196.7.18.65]) by hub.freebsd.org (Postfix) with ESMTP id 3555D37B69B; Fri, 12 Jan 2001 10:26:36 -0800 (PST) Received: from grondar.za (root@gratis.grondar.za [196.7.18.133]) by gratis.grondar.za (8.11.1/8.11.1) with ESMTP id f0CIQHI14502; Fri, 12 Jan 2001 20:26:18 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <200101121826.f0CIQHI14502@gratis.grondar.za> To: Garrett Wollman Cc: Doug Barton , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: Randomness and vi References: <200101121653.LAA58236@khavrinen.lcs.mit.edu> In-Reply-To: <200101121653.LAA58236@khavrinen.lcs.mit.edu> ; from Garrett Wollman "Fri, 12 Jan 2001 11:53:44 EST." Date: Fri, 12 Jan 2001 20:26:17 +0200 From: Mark Murray Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > < said: > > > found out the hard way that vi needs randomness to run when I was doing > > vi doesn't need randomness to run. However, some overzealous coder > may have changed it to waste good randomness when all it needs to do > is feed its PRNG. I have seen several instances of this (not naming > names) but did not think to protest. Hmm. The whole usr.games area is well infected with srandomdev. IMO, srandom(time ^ pid) is sufficient. M -- Mark Murray Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message