diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-04 04:30:03 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-04 04:30:03 +0000 |
commit | e29cdcb37c6acfc6bee52de4b08de5a85c818aa6 (patch) | |
tree | 4ee2782a108cd87bac3d0eaabb05238bb9c74562 /dump.c | |
parent | 2dde2d61b30c8b775ca2cbc17a9153c34b074291 (diff) | |
download | perl-e29cdcb37c6acfc6bee52de4b08de5a85c818aa6.tar.gz |
ignore stash entries that are not GVs in dump.c
p4raw-id: //depot/perl@1291
Diffstat (limited to 'dump.c')
-rw-r--r-- | dump.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)) |