Hi, Would this patch work on unix it works for me on MSVC6: Index: dstring.c =================================================================== --- dstring.c (revision 8016) +++ dstring.c (working copy) @@ -147,7 +147,7 @@ o = ds->len; while (1) { va_copy(ap, _ap); - n = vsnprintf(ds->str + o, ds->len+1 - o, format, ap); + n = _vsnprintf(ds->str + o, ds->len+1 - o, format, ap); va_end(ap); if (n > -1 && n+o <= ds->len) { if (n+o < ds->len) { @@ -186,7 +186,7 @@ if (ds) { while (1) { va_copy(ap, _ap); - n = vsnprintf(ds->str, ds->len+1, format, ap); + n = _vsnprintf(ds->str, ds->len+1, format, ap); va_end(ap); if (n > -1 && n <= ds->len) { if (n < ds->len) {
Regards Anders