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:
6eb630b
)
Fix core dump from undef %File::Glob::
author
Benjamin Sugars
<bsugars@canoe.ca>
Mon, 16 Apr 2001 13:23:59 +0000
(09:23 -0400)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 17 Apr 2001 11:52:17 +0000
(11:52 +0000)
Message-ID: <Pine.LNX.4.21.
0104161313160
.1676-100000@marmot.rim.canoe.ca>
p4raw-id: //depot/perl@9721
op.c
patch
|
blob
|
blame
|
history
diff --git
a/op.c
b/op.c
index
aa0b1e7
..
6cd2f9a
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-5870,6
+5870,7
@@
Perl_ck_glob(pTHX_ OP *o)
gv = gv_fetchpv("CORE::GLOBAL::glob", FALSE, SVt_PVCV);
glob_gv = gv_fetchpv("File::Glob::csh_glob", FALSE, SVt_PVCV);
GvCV(gv) = GvCV(glob_gv);
+ SvREFCNT_inc((SV*)GvCV(gv));
GvIMPORTED_CV_on(gv);
LEAVE;
}