[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: malloc(0) problem again

From: Bruno Haible
Subject: Re: malloc(0) problem again
Date: Mon, 27 Apr 2009 00:15:52 +0200
User-agent: KMail/1.9.9

Ralf Wildenhues wrote:
> AC_FUNC_MALLOC should define malloc to rpl_malloc and
> the code from the malloc module should be used and fix this issue, no?

My modules don't use AC_FUNC_MALLOC. From a performance perspective,
I see no point in adding an extra function call for every malloc invocation,
while only few among these invocations can actually be called with a zero
argument. From a standards perspective, I stick with ISO C99 and POSIX.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]