[ 23058]
Stop ENV_IS_CASELESS hv.c picking up the wrong hash value from a
shared string scalar.
[ 23061]
hv_store was not passing hash onwards (spotted by Dave)
p4raw-link: @23061 on //depot/perl:
52d01cc22f218c2d828b1db06a67c612a02ebd47
p4raw-link: @23058 on //depot/perl:
8b4f7dd5e1f209efbb2b0c869593cbad5c938b49
p4raw-id: //depot/maint-5.8/perl@23169
p4raw-integrated: from //depot/perl@23153 'edit in' hv.c (@23058..)
flags = 0;
}
hek = hv_fetch_common (hv, NULL, key, klen, flags,
- (HV_FETCH_ISSTORE|HV_FETCH_JUST_SV), val, 0);
+ (HV_FETCH_ISSTORE|HV_FETCH_JUST_SV), val, hash);
return hek ? &HeVAL(hek) : NULL;
}
key = (const char*)strupr((char*)key);
is_utf8 = 0;
hash = 0;
+ keysv = 0;
if (flags & HVhek_FREEKEY) {
Safefree(keysave);
key = (const char*)strupr((char*)key);
is_utf8 = 0;
hash = 0;
+ keysv = 0;
if (flags & HVhek_FREEKEY) {
Safefree(keysave);