From: Doug MacEachern Date: Thu, 2 Aug 2001 09:41:53 +0000 (-0700) Subject: [patch] ithreads + refto fix improvement X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f2933f5ff5169de5debfdcdf1f28f65f2037fa3b;p=p5sagit%2Fp5-mst-13.2.git [patch] ithreads + refto fix improvement Message-ID: p4raw-id: //depot/perl@11553 --- diff --git a/pp.c b/pp.c index b6c11da..1cb3a44 100644 --- a/pp.c +++ b/pp.c @@ -467,8 +467,8 @@ S_refto(pTHX_ SV *sv) SvTEMP_off(sv); (void)SvREFCNT_inc(sv); } - else if (SvPADTMP(sv) && !(isGV(sv) && GvIN_PAD(sv))) - sv = newSVsv(sv); + else if (SvPADTMP(sv) && !IS_PADGV(sv)) + sv = newSVsv(sv); else { SvTEMP_off(sv); (void)SvREFCNT_inc(sv);