[Reproducible-commits] [dpkg] 04/32: libcompat: Add missing semicolon to vsnprintf() declaration

Holger Levsen holger at layer-acht.org
Tue May 3 08:43:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to annotated tag 1.15.10
in repository dpkg.

commit 3acdaa7eef463d147b883bac3b55611762dd747c
Author: Robert Millan <rmh at debian.org>
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 <guillem at debian.org>
---
 debian/changelog    | 2 ++
 lib/compat/compat.h | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list