The following commit has been merged in the squeeze branch:
commit 3acdaa7eef463d147b883bac3b55611762dd747c
Author: Robert Millan <[email protected]>
Date:   Sun Feb 6 21:31:52 2011 +0100

    libcompat: Add missing semicolon to vsnprintf() declaration
    
    Cherry picked from commit d09ad2efd0b93bb69eb6dd74f643717f6fe35242.
    
    This makes the build fail on systems where vsnprintf() is missing or
    not compliant enough, and thus the fallback is being used.
    
    Closes: #612203
    
    Signed-off-by: Guillem Jover <[email protected]>

diff --git a/debian/changelog b/debian/changelog
index 0bd3b0e..61f863b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ dpkg (1.15.8.11) UNRELEASED; urgency=low
   [ Guillem Jover ]
   * Fix build failure when passing --disable-nls to configure.
   * Do not segfault on “dpkg -i --no-act”.
+  * Add missing semicolon to the vsnprintf() compat declaration.
+    Thanks to Robert Millan. Closes: #612203
 
   [ Updated man page translations ]
   * German (Helge Kreutzmann). Minor fixe(s).
diff --git a/lib/compat/compat.h b/lib/compat/compat.h
index 80de53e..5269a9c 100644
--- a/lib/compat/compat.h
+++ b/lib/compat/compat.h
@@ -54,7 +54,7 @@ extern "C" {
 #include <stdarg.h>
 
 int snprintf(char *str, size_t n, char const *fmt, ...);
-int vsnprintf(char *buf, size_t maxsize, const char *fmt, va_list args)
+int vsnprintf(char *buf, size_t maxsize, const char *fmt, va_list args);
 #endif
 
 #ifndef HAVE_ASPRINTF

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to