[libvirt] [PATCH] build: fix virBufferVasprintf on mingw

Eric Blake eblake at redhat.com
Thu Jun 30 18:00:37 UTC 2011


Gnulib documents that mingw [v]snprintf is broken (it returns -1
on out-of-space, instead of the count of what would have been
printed); but while we were using the snprintf wrapper, we had
not yet been using the vsnprintf wrapper.

* bootstrap.conf (gnulib_modules): Add vsnprintf.
Reported by Matthias Bolte.
---
 bootstrap.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/bootstrap.conf b/bootstrap.conf
index 581d60b..302cce8 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -97,6 +97,7 @@ usleep
 vasprintf
 verify
 vc-list-files
+vsnprintf
 waitpid
 warnings
 '
-- 
1.7.4.4




More information about the libvir-list mailing list