Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move PERL_INTERNAL_RAND_SEED set-up after init_stacks().
This code may be calling things that put SVs on the stack, so we should have a stack before doing so. That risk might be theoretical on most platforms, but on VMS, the getenv implementation mortalizes an SV when doing lookups. This meant that on a DEBUGGING build with PERL_DESTRUCT_LEVEL set, any code or no code at all would warn like so: $ perl -e ";" Attempt to free temp prematurely: SV 0x845718 during global destruction. Scalars leaked: 1 Getting the stack initialized first fixes that.
- Loading branch information