|
From: | Paul Eggert |
Subject: | Re: A new module: bitset |
Date: | Tue, 27 Nov 2018 12:31:45 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 |
On 11/26/18 8:15 PM, Akim Demaille wrote:
The current implementation uses xmalloc, but there are also calls to calloc and realloc.
How can it be right to combine xmalloc with calloc/realloc? Shouldn't the implementation use xmalloc, xcalloc, and xrealloc for consistency? Also, what about applications that don't want to use the x* variants?
[Prev in Thread] | Current Thread | [Next in Thread] |