summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorRobert Spier <rspier@pobox.com>2001-11-15 03:19:21 -0800
committerAbhijit Menon-Sen <ams@wiw.org>2001-11-15 19:32:06 +0000
commitad4c42df6bd5c3e95a77b950de1458bce8939ec3 (patch)
tree927f1341659ee01fe32d98496c1b1c148fcd9f26 /op.c
parent47eb2c97b7ba22f5efd5098adf5a4590e3c2268c (diff)
downloadperl-ad4c42df6bd5c3e95a77b950de1458bce8939ec3.tar.gz
Re: [ID 20010713.001] use lib segmentation fault
Message-Id: <15348.5433.732364.963687@rls.cx> p4raw-id: //depot/perl@13024
Diffstat (limited to 'op.c')
-rw-r--r--op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.c b/op.c
index 6fbe51c3a0..af125aa4af 100644
--- 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,