* lib/malloc.c: Omit unnecessary "#undef malloc".
I recently introduced it by mistake. This module defines
_GL_USE_STDLIB_ALLOC and so malloc isn’t redefined to rpl_malloc.
2021-04-21 Paul Eggert <eggert@cs.ucla.edu>
+ malloc: simplify
+ * lib/malloc.c: Omit unnecessary "#undef malloc".
+ I recently introduced it by mistake. This module defines
+ _GL_USE_STDLIB_ALLOC and so malloc isn’t redefined to rpl_malloc.
+
malloca: avoid ptrdiff_t overflow
* lib/malloca.c: Include idx.h, intprops.h.
(mmalloca): Check for ptrdiff_t overflow. Since this module uses
#include "xalloc-oversized.h"
-/* Call the system's malloc below. */
-# undef malloc
-
/* Allocate an N-byte block of memory from the heap, even if N is 0. */
void *