Junio C Hamano schrieb: > Johannes Sixt <j.sixt@xxxxxxxxxxxxx> writes: > >> Having said that, I'd actually prefer to stay with variable-sized arrays >> if they prove portable enough because we don't need the handful of free()s >> on function exits. Junio, if you like I can resend patch 2/2 using >> variable-sized arrays. > > As an old fashoned git myself, and given the fact that the > possible prefix and suffix are small number of short constant > strings, I actually prefer a simpler-and-more-stupid approach. > > sideband.c | 18 +++++++++++++----- > 1 files changed, 13 insertions(+), 5 deletions(-) Thanks, your version works well here, too, as a replacement of my two patches. -- Hannes - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html