From: Mike Guy Date: Tue, 24 Oct 2000 14:59:40 +0000 (+0100) Subject: [ID 20001024.007] [PATCH] "Dump local *FH" causes SEGV X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=94051fc13882c77fe18ec0e2536d4b2ccf756784;p=p5sagit%2Fp5-mst-13.2.git [ID 20001024.007] [PATCH] "Dump local *FH" causes SEGV Message-Id: p4raw-id: //depot/perl@7435 --- diff --git a/scope.c b/scope.c index 0544b89..7c904b4 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 {