On Sun, Feb 02, 2003 at 15:32:32 +0000, Mark Murray wrote:
> "Jeroen C. van Gelderen" writes:
> > Wouldn't it be a good idea to change the name at the same time? Or 
> > should it be retained for compatibility reasons with other BSDs?
> > 
> > Currently the name needlessly exposes implementation detail. Callers 
> > expect good, cheap, non-blocking randomness but don't give a hoot if 
> > that is actually provided trough use of RC4 or not. I see no reason why 
> > the implementation could be changed if the contract is maintained.
> 
> Good point. We can re-implement random() internally with arc4rand().
> 
> Objections?

We can't, simple because sequence must be repeated for the same seed 
across the calls.

-- 
Andrey A. Chernov
http://ache.pp.ru/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to