Thread (10 messages) flat view 10 messages, 4 authors, 2016-06-15

Re: [PATCH 1/2] add macro REALLOC_ARRAY

From: René Scharfe <hidden>
Date: 2016-06-15 23:02:35

Am 24.09.2014 um 09:32 schrieb Michael Haggerty:
Is there a reason that ALLOC_GROW and REALLOC_ARRAY are defined in two
separate header files (cache.h and git-compat-util.h, respectively)? It
seems to me that they are close siblings and therefore I find it
surprising that they are not defined right next to each other.
REALLOC_ARRAY is more like xrealloc and it's used in places that only 
#include git-compat-util.h and not cache.h, so the first header was the 
right place.

ALLOC_GROW could be moved there in a separate patch, but I'm not sure 
it's worth it.

René
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help