diff options
author | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-06-05 14:20:51 +0000 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-06-05 14:20:51 +0000 |
commit | e858de61083066071eb1526df39bdaa094032c61 (patch) | |
tree | a59a60b162edf35b5557f553d4812553b75a996d /hv.c | |
parent | 5196be3eab7cb5c37d1fce858e95874c8439e54f (diff) | |
download | perl-e858de61083066071eb1526df39bdaa094032c61.tar.gz |
More fixups for thrperl integration.
p4raw-id: //depot/perl@27
Diffstat (limited to 'hv.c')
-rw-r--r-- | hv.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -557,6 +557,7 @@ U32 hash; if (SvRMAGICAL(hv)) { if (mg_find((SV*)hv,'P')) { + dTHR; /* just for SvTRUE */ sv = sv_newmortal(); keysv = sv_2mortal(newSVsv(keysv)); mg_copy((SV*)hv, sv, (char*)keysv, HEf_SVKEY); @@ -924,6 +925,7 @@ HV *hv; } magic_nextpack((SV*) hv,mg,key); if (SvOK(key)) { + dTHR; /* just for SvREFCNT_inc */ /* force key to stay around until next time */ HeSVKEY_set(entry, SvREFCNT_inc(key)); return entry; /* beware, hent_val is not set */ |