Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2001 20:26:17 +0200
From:      Mark Murray <mark@grondar.za>
To:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc:        Doug Barton <DougB@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: Randomness and vi 
Message-ID:  <200101121826.f0CIQHI14502@gratis.grondar.za>
In-Reply-To: <200101121653.LAA58236@khavrinen.lcs.mit.edu> ; from Garrett Wollman <wollman@khavrinen.lcs.mit.edu>  "Fri, 12 Jan 2001 11:53:44 EST."
References:  <200101121653.LAA58236@khavrinen.lcs.mit.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> <<On Fri, 12 Jan 2001 01:52:55 -0800, Doug Barton <DougB@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101121826.f0CIQHI14502>