From: Wolfgang Laun Date: Mon, 10 Dec 2001 08:45:20 +0000 (+0100) Subject: Re: [ID 20011209.005] perl "u2" eats RAM X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=19c9db5ec411efbf873c282752af2ce0de707e7b;p=p5sagit%2Fp5-mst-13.2.git Re: [ID 20011209.005] perl "u2" eats RAM Message-ID: <3C146810.60B5B7C0@alcatel.at> p4raw-id: //depot/perl@13592 --- diff --git a/pp_pack.c b/pp_pack.c index ceb01c5..594144e 100644 --- a/pp_pack.c +++ b/pp_pack.c @@ -1843,7 +1843,7 @@ PP(pp_pack) fromstr = NEXTFROM; aptr = SvPV(fromstr, fromlen); SvGROW(cat, fromlen * 4 / 3); - if (len <= 1) + if (len <= 2) len = 45; else len = len / 3 * 3;