From: Dennis S. <sy...@yo...> - 2004-10-01 10:23:57
|
On Fri, 2004-10-01 at 11:48 +0200, Burkhard Plaum wrote: > > #include <sys/time.h> > > struct timeval tv; > > > > gettimeofday(&tv,NULL); > > fastsrand(tv.tv_usec); > > > Yea, that's the best method :-) > > BTW all plugins must be changed to no longer call > [s]rand(). Yep, I saw xscreensaver has something that gives a warning or an error on srand, not sure how they do that... Cheers, Dennis |