On Thu, Mar 06, 2008 at 11:53:28AM +0100, Johannes Schindelin wrote: > AFAIR it is unportable to have a macro > > #define strbuf_initf(buf, fmt, ...) \ > (strbuf_init(buf, strlen(fmt) + 64), strbuf_addf(buf, fmt, args);) > > (GNU cpp groks it, but what about the others?) C99 has variable-argument macros, but C89 does not. I have no idea in practice how many of the compilers git targets support them (in one form or another). -Peff -- 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