Missing dTHR in hv_fetch_ent when statics moved to thread struct.
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>
Mon, 16 Mar 1998 16:36:55 +0000 (16:36 +0000)
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>
Mon, 16 Mar 1998 16:36:55 +0000 (16:36 +0000)
p4raw-id: //depot/perl@825

hv.c

diff --git a/hv.c b/hv.c
index 822c002..e7d2075 100644 (file)
--- a/hv.c
+++ b/hv.c
@@ -170,6 +170,7 @@ hv_fetch_ent(HV *hv, SV *keysv, I32 lval, register U32 hash)
 
     if (SvRMAGICAL(hv)) {
        if (mg_find((SV*)hv,'P')) {
+           dTHR;
            sv = sv_newmortal();
            keysv = sv_2mortal(newSVsv(keysv));
            mg_copy((SV*)hv, sv, (char*)keysv, HEf_SVKEY);