projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d4151d
)
[ID 20001024.007] [PATCH] "Dump local *FH" causes SEGV
author
Mike Guy
<mjtg@cam.ac.uk>
Tue, 24 Oct 2000 14:59:40 +0000
(15:59 +0100)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 25 Oct 2000 13:49:32 +0000
(13:49 +0000)
Message-Id: <E13o4c8-00076u-00@libra.cus.cam.ac.uk>
p4raw-id: //depot/perl@7435
scope.c
patch
|
blob
|
history
diff --git
a/scope.c
b/scope.c
index
0544b89
..
7c904b4
100644
(file)
--- 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 {