This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dde2d6
)
ignore stash entries that are not GVs in dump.c
author
Gurusamy Sarathy
<gsar@cpan.org>
Sat, 4 Jul 1998 04:30:03 +0000
(
04:30
+0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Sat, 4 Jul 1998 04:30:03 +0000
(
04:30
+0000)
p4raw-id: //depot/perl@1291
dump.c
patch
|
blob
|
blame
|
history
diff --git
a/dump.c
b/dump.c
index
8735585
..
c25bed9
100644
(file)
--- a/
dump.c
+++ b/
dump.c
@@
-45,6
+45,8
@@
dump_packsubs(HV *stash)
for (entry = HvARRAY(stash)[i]; entry; entry = HeNEXT(entry)) {
GV *gv = (GV*)HeVAL(entry);
HV *hv;
+ if (SvTYPE(gv) != SVt_PVGV || !GvGP(gv))
+ continue;
if (GvCVu(gv))
dump_sub(gv);
if (GvFORM(gv))