bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH 1/2] Add nmalloc, NMALLOC et al.


From: Paul Eggert
Subject: Re: [PATCH 1/2] Add nmalloc, NMALLOC et al.
Date: Sun, 03 Nov 2013 12:04:36 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

Ondřej Bílka wrote:
> +XALLOC_INLINE void *
> +nmalloc (size_t n, size_t s)
> +{
> +  if (xalloc_oversized (n, s))
> +    xalloc_die ();
> +  return xmalloc (n * s);
> +}

This is the same as the existing xnmalloc, so why bother with a new name?
Similarly for the other changes.



reply via email to

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