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

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=5973aa2f9079545739fa52ecdf1577676313d6fa

commit 5973aa2f9079545739fa52ecdf1577676313d6fa
Author: Guillem Jover <[email protected]>
AuthorDate: Fri Feb 15 04:13:39 2019 +0100

    libdpkg: Include <string.h> in pager.c
    
    Closes: #922212
    Reported-by: Y <[email protected]>
---
 debian/changelog | 2 ++
 lib/dpkg/pager.c | 1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e8ba19d75..29e6c0983 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -58,6 +58,8 @@ dpkg (1.19.5) UNRELEASED; urgency=medium
     - libdpkg: Add new dpkg_has_error() function.
     - libdpkg: Move status names from parse errors to arguments.
     - libdpkg: Use va_arg copy instead of the original on a vasprintf() call.
+    - libdpkg: Include <string.h> in pager.c.
+      Reported by Y <[email protected]>. Closes: #922212
   * Build system:
     - Check whether this dist is a release, based only on the version format.
       This will avoid having to do a two staged release to get a proper perl
diff --git a/lib/dpkg/pager.c b/lib/dpkg/pager.c
index b0e54101e..4eab2f09e 100644
--- a/lib/dpkg/pager.c
+++ b/lib/dpkg/pager.c
@@ -25,6 +25,7 @@
 
 #include <stdbool.h>
 #include <stdlib.h>
+#include <string.h>
 #include <signal.h>
 #include <unistd.h>
 

-- 
Dpkg.Org's dpkg

Reply via email to