On Jan 23, 2008, at 6:50 PM, Linus Torvalds wrote:
On Wed, 23 Jan 2008, H. Peter Anvin wrote:
That's what va_copy() is for.
Well, anybody who has such an old setup that they have a broken
vsnprintf,
I'd expect they don't have va_copy() either. It's C99, I think
(although
there were obviously implementations of it before that).
I wonder what's the downside of just using a native format
implementation like the one in Vstr[1] or bstring[2]?
strbuf_addf would be faster and immune to the buggy/outdated host
*sprintf implementations.
__Luke
[1]: http://www.and.org/vstr/
[2]: http://bstring.sourceforge.net/
-
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