From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Buettner To: gdb-patches@sources.redhat.com Subject: Re: [PATCH RFA #2] utils.c: Fix xcalloc (0, 0) behavior Date: Mon, 05 Mar 2001 17:11:00 -0000 Message-id: <1010306011110.ZM8666@ocotillo.lan> References: <1010306000635.ZM8056@ocotillo.lan> X-SW-Source: 2001-03/msg00097.html On Mar 5, 5:06pm, Kevin Buettner wrote: > I have tested this patch on i386-unknown-freebsd4.2 and > i686-pc-linux-gnu and do not see any regressions. > > * utils.c (xmrealloc, xcalloc): Return NULL for zero-sized requests. Another data point: I've just tested this patch on sparc-sun-solaris2.7 and all's well... Kevin