[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: realloc.c on Tru64 4.0D
From: |
Jim Meyering |
Subject: |
Re: realloc.c on Tru64 4.0D |
Date: |
Mon, 05 Nov 2007 13:28:14 +0100 |
Bruno Haible <address@hidden> wrote:
> In <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00482.html>
> I proposed a fix, jointly with Ralf, for the realloc.c problem that Ralf
> reported. Comments about it? (It's your territory.)
>
>> 2007-10-27 Ralf Wildenhues <address@hidden>
>> Bruno Haible <address@hidden>
>>
>> * modules/malloc (configure.ac): Define GNULIB_MALLOC_GNU always.
>> * modules/realloc (configure.ac): Define GNULIB_REALLOC_GNU always.
>> * lib/realloc.c (SYSTEM_MALLOC_GLIBC_COMPATIBLE): New macro.
>> (malloc): Undefine also before including <stdlib.h>.
>> (rpl_realloc): Turn malloc(0) into malloc(1) if necessary.
>> Needed on OSF/1 4.0.
Thanks for doing that.
It looks fine, so go ahead.