Bug#537952: Use more random random seed than localtime
Don Armstrong
don at donarmstrong.com
Thu Jul 30 23:35:06 UTC 2009
On Thu, 30 Jul 2009, Jonathan Yu wrote:
> I should also note that changing the patch to this:
> +void
> +set_default_seed(long time)
> + PREINIT:
> + long seed;
> + CODE:
> + seed = Perl_get_seed;
> + setall(seed, seed);
>
> Yielded the same error. Am I missing something about how to use setall()?
Yes. You're missing the modulus which is present in my second patch.
Don Armstrong
--
It has always been Debian's philosophy in the past to stick to what
makes sense, regardless of what crack the rest of the universe is
smoking.
-- Andrew Suffield in 20030403211305.GD29698 at doc.ic.ac.uk
http://www.donarmstrong.com http://rzlab.ucr.edu
More information about the pkg-perl-maintainers
mailing list