summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorDoug MacEachern <dougm@covalent.net>2001-08-01 02:47:28 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2001-08-01 16:08:08 +0000
commitaf68e658651cf56700790e24ea04a752928b0df4 (patch)
treeff40375d72e6acd5eec4cf474a2fce3c7d5ab1f2 /pp.c
parent122a03757d5ebab50b5173ec762435d9b729179f (diff)
downloadperl-af68e658651cf56700790e24ea04a752928b0df4.tar.gz
[patch] ithreads + refto bug
Message-ID: <Pine.LNX.4.21.0108010937240.7498-100000@mako.covalent.net> (Test in change #11539) p4raw-link: @11539 (not found) p4raw-id: //depot/perl@11536
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index 658a89042a..b6c11da22b 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);