X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl.c;h=9914935203ed8638132c5f3ac126392ac621e80f;hb=18aba96f40a877297fb70961dbd4be7bc6f1c199;hp=3f5de94a9acc236840d3382c3177cabab3306957;hpb=f2095865e3489f4ebbf137f6e644e545a84288ae;p=p5sagit%2Fp5-mst-13.2.git diff --git a/perl.c b/perl.c index 3f5de94..9914935 100644 --- a/perl.c +++ b/perl.c @@ -1,6 +1,7 @@ /* perl.c * - * Copyright (c) 1987-2003 Larry Wall + * Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, + * 2000, 2001, 2002, 2003, by Larry Wall and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -788,7 +789,7 @@ perl_destruct(pTHXx) if (PL_reg_curpm) Safefree(PL_reg_curpm); Safefree(PL_reg_poscache); - Safefree(HeKEY_hek(&PL_hv_fetch_ent_mh)); + free_tied_hv_pool(); Safefree(PL_op_mask); Safefree(PL_psig_ptr); Safefree(PL_psig_name); @@ -2166,7 +2167,7 @@ char * Perl_moreswitches(pTHX_ char *s) { STRLEN numlen; - U32 rschar; + UV rschar; switch (*s) { case '0': @@ -2188,7 +2189,7 @@ Perl_moreswitches(pTHX_ char *s) s--; } PL_rs = newSVpvn("", 0); - SvGROW(PL_rs, UNISKIP(rschar) + 1); + SvGROW(PL_rs, (STRLEN)(UNISKIP(rschar) + 1)); tmps = (U8*)SvPVX(PL_rs); uvchr_to_utf8(tmps, rschar); SvCUR_set(PL_rs, UNISKIP(rschar));