Subject: Re: shuffle v2
To: Simon Burge <simonb@telstra.com.au>
From: Perry E. Metzger <perry@piermont.com>
List: tech-userlevel
Date: 09/22/1998 22:43:04
Simon Burge writes:
> On 22 Sep 1998 22:28:22 -0400 "Perry E. Metzger" wrote:
>
> > X srandom(getpid() ^ ~getuid() ^ (int)time(NULL));
>
> FWIW, I use both seconds and microseconds from a gettimeofday() call
> rather than just seconds from time(). Just a little more randomness,
> but maybe overkill in this application.
It isn't really overkill -- send me a patch and I'll apply it.
.pm