develooper Front page | perl.perl5.porters | Postings from November 2003

Re: 5.8.2-RC1 and mp2

Thread Previous | Thread Next
From:
Stas Bekman
Date:
November 2, 2003 10:56
Subject:
Re: 5.8.2-RC1 and mp2
Message ID:
3FA55347.4040705@stason.org
Jan Dubois wrote:
> On Sun, 02 Nov 2003 01:00:03 -0800, Stas Bekman <stas@stason.org> wrote:
> 
> 
>>Why do we need two variables? If PL_hash_seed is there only for binary 
>>compatibility, why not have the two point to the same thing? I've 
>>s/PL_hash_seed/PL_new_hash_seed/ in hv.[ch] and I've got everything working as 
>>well.
> 
> 
> The reason for keeping PL_hash_seed permanently set to 0 is to maintain
> binary compatibility with 5.8.1.  Modules compiled with the 5.8.1. version
> of hv.h are using it in their PERL_HASH expansion *before* the new
> rehashing scheme kicks in.

It wasn't 0, but 0 or PL_hash_seed in 5.8.1, dependinig on the compilation 
flags. mod_perl 2.0 sets PL_hash_seed for 5.8.1. At the moment (21616) 
PL_hash_seed ignores env var PERL_HASH_SEED.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About