From: Doug MacEachern Date: Wed, 1 Aug 2001 09:47:28 +0000 (-0700) Subject: [patch] ithreads + refto bug X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=af68e658651cf56700790e24ea04a752928b0df4;p=p5sagit%2Fp5-mst-13.2.git [patch] ithreads + refto bug Message-ID: (Test in change #11539) p4raw-link: @11539 (not found) p4raw-id: //depot/perl@11536 --- diff --git a/pp.c b/pp.c index 658a890..b6c11da 100644 --- a/pp.c +++ b/pp.c @@ -467,7 +467,7 @@ S_refto(pTHX_ SV *sv) SvTEMP_off(sv); (void)SvREFCNT_inc(sv); } - else if (SvPADTMP(sv)) + else if (SvPADTMP(sv) && !(isGV(sv) && GvIN_PAD(sv))) sv = newSVsv(sv); else { SvTEMP_off(sv);