[Top][All Lists]

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

Re: [Bug-gnulib] requirements of 'malloc' module

From: Bruno Haible
Subject: Re: [Bug-gnulib] requirements of 'malloc' module
Date: Tue, 20 Jan 2004 14:47:40 +0100
User-agent: KMail/1.5


Noone commented, so I've added the 'eealloc' module to gnulib.
On 2003-11-24 I described it as follows.

> Last week we were reminded about this unfortunate "#define malloc
> rpl_malloc" thing. We already discussed it in
> http://mail.gnu.org/archive/html/bug-gnulib/2003-01/msg00041.html
> Here is a proposal to define a new module 'eealloc' ('e' because the
> letters 'c', 'n', 'z', 'g' are already taken). After this module is
> accepted, the logical next step will be to change xmalloc to use it. This
> way
>    1. Link errors due to "#define malloc rpl_malloc" will no longer occur,
>    2. Code which need the ISO C semantics of malloc() are no longer forced
> to choose between
>         a) using an overkill test for empty allocations that they don't
> need, b) using a modified variant of xalloc (this is what gettext currently
> does).


reply via email to

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