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

Re: [PATCH 1/2] sideband.c: Use xmalloc() instead of variable-sized arrays.

From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:44:03

On Tue, 8 Jan 2008, Junio C Hamano wrote:
How about using a constant large enough slop?  It is not like
PREFIX and SUFFIX are different vastly between calls.
The size of the buffer is certainly bounded since the prefix length is 
constant, the buffer size is constant, and both possible suffixes are 
also constants.


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