From 94051fc13882c77fe18ec0e2536d4b2ccf756784 Mon Sep 17 00:00:00 2001 From: Mike Guy Date: Tue, 24 Oct 2000 15:59:40 +0100 Subject: [ID 20001024.007] [PATCH] "Dump local *FH" causes SEGV Message-Id: p4raw-id: //depot/perl@7435 --- scope.c | 1 + 1 file changed, 1 insertion(+) 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 { -- cgit v1.2.1