From 92767228ae3079844c8c0a69df8a7494515729dc Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Mon, 23 May 2005 10:13:21 +0000 Subject: [PATCH] Oops. What is looking at an array's SvIVX()? p4raw-id: //depot/perl@24548 --- sv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sv.c b/sv.c index 8fe9be0..0a27714 100644 --- a/sv.c +++ b/sv.c @@ -1872,6 +1872,7 @@ Perl_sv_upgrade(pTHX_ register SV *sv, U32 mt) AvALLOC(sv) = 0; AvARYLEN(sv)= 0; AvREAL_only(sv); + SvIVX(sv) = 0; } /* to here. */ /* XXX? Only SVt_NULL is ever upgraded to AV or HV? */ -- 2.7.4