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:
47eb2c9
)
Re: [ID 20010713.001] use lib segmentation fault
author
Robert Spier
<rspier@pobox.com>
Thu, 15 Nov 2001 11:19:21 +0000
(
03:19
-0800)
committer
Abhijit Menon-Sen
<ams@wiw.org>
Thu, 15 Nov 2001 19:32:06 +0000
(19:32 +0000)
Message-Id: <15348.5433.732364.963687@rls.cx>
p4raw-id: //depot/perl@13024
op.c
patch
|
blob
|
history
diff --git
a/op.c
b/op.c
index
6fbe51c
..
af125aa
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-3305,7
+3305,7
@@
Perl_utilize(pTHX_ int aver, I32 floor, OP *version, OP *id, OP *arg)
/* Fake up a method call to import/unimport */
meth = aver ? newSVpvn("import",6) : newSVpvn("unimport", 8);;
-
sv_upgrade
(meth, SVt_PVIV);
+
(void)SvUPGRADE
(meth, SVt_PVIV);
(void)SvIOK_on(meth);
PERL_HASH(SvUVX(meth), SvPVX(meth), SvCUR(meth));
imop = convert(OP_ENTERSUB, OPf_STACKED|OPf_SPECIAL,