diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-07-11 00:03:33 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-07-11 00:03:33 +0000 |
commit | bed601927f5ca7f54b544d9e5ce1f77461311b68 (patch) | |
tree | 76f5d01619419491feebf3cfa159cb51489543cd /intrpvar.h | |
parent | 183c3da10ba46f0626790e1aa75f641397137480 (diff) | |
download | perl-bed601927f5ca7f54b544d9e5ce1f77461311b68.tar.gz |
Chicken out: the hash randomisation is not on by default.
We switch over to the explicit mode: in other words, if
the $ENV{PERL_HASH_SEED} is on, we randomise. Also, we
randomise only if PL_hash_seed_set is FALSE (this means
one can use PERL_HASH() before perl_run.) Also, since
now PERL_HASH_SEED is okay even under -T, all should be fine.
(Ha!)
p4raw-id: //depot/perl@20135
Diffstat (limited to 'intrpvar.h')
-rw-r--r-- | intrpvar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intrpvar.h b/intrpvar.h index 6d77cec2a1..6a34ea4e67 100644 --- a/intrpvar.h +++ b/intrpvar.h @@ -525,6 +525,8 @@ PERLVARI(Ippid, IV, 0) PERLVARI(Ihash_seed, UV, 0) /* Hash initializer */ +PERLVARI(Ihash_seed_set, bool, FALSE) /* Hash initialized? */ + PERLVAR(IDBassertion, SV *) PERLVARI(Icv_has_eval, I32, 0) /* PL_compcv includes an entereval or similar */ |