summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-25 14:04:07 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-25 14:04:07 +0000
commite0d088d0e81f017f3713823b3f066f49ef286b80 (patch)
tree631165eaa7278f660e81103a4d4ca8f2cdf27583 /gv.c
parenta636914a235cd8650ed6efcb07e302c0332fa638 (diff)
downloadperl-e0d088d0e81f017f3713823b3f066f49ef286b80.tar.gz
Missed from #10925.
p4raw-id: //depot/perl@10926
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gv.c b/gv.c
index 71ec31d9a0..89b15e1277 100644
--- a/gv.c
+++ b/gv.c
@@ -126,7 +126,7 @@ Perl_gv_init(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, int multi)
PL_sub_generation++;
CvGV(GvCV(gv)) = gv;
- CvFILE(GvCV(gv)) = CopFILE(PL_curcop);
+ CvFILE_set_from_cop(GvCV(gv), PL_curcop);
CvSTASH(GvCV(gv)) = PL_curstash;
#ifdef USE_THREADS
CvOWNER(GvCV(gv)) = 0;