summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorMike Guy <mjtg@cam.ac.uk>2000-10-24 15:59:40 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-25 13:49:32 +0000
commit94051fc13882c77fe18ec0e2536d4b2ccf756784 (patch)
treee8df55b6cafe4b9eabbc5a6100eff71bf556137d /scope.c
parent8d4151d38b6388a812272063c381dbe6deb90843 (diff)
downloadperl-94051fc13882c77fe18ec0e2536d4b2ccf756784.tar.gz
[ID 20001024.007] [PATCH] "Dump local *FH" causes SEGV
Message-Id: <E13o4c8-00076u-00@libra.cus.cam.ac.uk> p4raw-id: //depot/perl@7435
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scope.c b/scope.c
index 0544b893d5..7c904b433f 100644
--- a/scope.c
+++ b/scope.c
@@ -302,6 +302,7 @@ Perl_save_gp(pTHX_ GV *gv, I32 empty)
GvGP(gv) = gp_ref(gp);
GvSV(gv) = NEWSV(72,0);
GvLINE(gv) = CopLINE(PL_curcop);
+ GvFILE(gv) = CopFILE(PL_curcop) ? CopFILE(PL_curcop) : "";
GvEGV(gv) = gv;
}
else {