1aea045b09
here, the #if can be easily modified for those platforms missing it.
16 lines
404 B
Text
16 lines
404 B
Text
$NetBSD: patch-ai,v 1.1 2008/09/19 20:02:23 joerg Exp $
|
|
|
|
--- str.c.orig 2008-09-19 21:59:39.000000000 +0200
|
|
+++ str.c
|
|
@@ -21,7 +21,11 @@ extern char *strv(const char *fmt, va_li
|
|
gcdisable();
|
|
buf = openbuffer(0);
|
|
format.u.p = buf;
|
|
+#if 1
|
|
+ va_copy(format.args, args);
|
|
+#else
|
|
format.args = args;
|
|
+#endif
|
|
format.buf = buf->str;
|
|
format.bufbegin = buf->str;
|
|
format.bufend = buf->str + buf->len;
|