From: Steve Hay Date: Wed, 20 Jul 2005 10:36:20 +0000 (+0000) Subject: Fix Newz() backwards-compatibility macro X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4541904d5c57838fc76e9cabcf94ba24cec42568;p=p5sagit%2Fp5-mst-13.2.git Fix Newz() backwards-compatibility macro p4raw-id: //depot/perl@25196 --- diff --git a/handy.h b/handy.h index 3efde38..f7ffc28 100644 --- a/handy.h +++ b/handy.h @@ -701,7 +701,7 @@ Malloc_t Perl_mem_log_free(Malloc_t oldalloc, const char *filename, const int li /* pre 5.9.x compatibility */ #define New(x,v,n,t) Newx(v,n,t) #define Newc(x,v,n,t,c) Newxc(v,n,t,c) -#define Newz(x,v,n,t,c) Newxz(v,n,t,c) +#define Newz(x,v,n,t) Newxz(v,n,t) #define Renew(v,n,t) \ (v = (MEM_WRAP_CHECK_(n,t) MEM_LOG_REALLOC(n,t,v,(t*)saferealloc((Malloc_t)(v),(MEM_SIZE)((n)*sizeof(t))))))