[Reproducible-commits] [dpkg] 09/24: s-s-d: Initialize nentries from sysctl(2) on */kFreeBSD
Niko Tyni
ntyni at moszumanska.debian.org
Tue May 3 21:38:22 UTC 2016
This is an automated email from the git hooks/post-receive script.
ntyni pushed a commit to branch ntyni/reproducible_builds
in repository dpkg.
commit 4e3993e3e650ebf44a49be007fac4ec255ca3290
Author: Guillem Jover <guillem at debian.org>
Date: Tue May 3 19:42:57 2016 +0200
s-s-d: Initialize nentries from sysctl(2) on */kFreeBSD
---
debian/changelog | 2 ++
utils/start-stop-daemon.c | 1 +
2 files changed, 3 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 938c3c2..2ad65ae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,8 @@ dpkg (1.18.6) UNRELEASED; urgency=medium
* Rename sysctl() “name” variable to “mib”, to avoid a clash with the
call site function argument with the same name in start-stop-daemon.
This fixes a build failure on */kFreeBSD systems.
+ * Initialize number of entries on initial process scan in start-stop-daemon
+ on */kFreeBSD.
* Packaging:
- Bump Standards-Version to 3.9.8 (no changes needed).
diff --git a/utils/start-stop-daemon.c b/utils/start-stop-daemon.c
index da8d8ec..c2a81f4 100644
--- a/utils/start-stop-daemon.c
+++ b/utils/start-stop-daemon.c
@@ -1936,6 +1936,7 @@ do_procinit(void)
return false;
if (len == 0)
return false;
+ nentries = len;
for (i = 0; i < nentries; i++) {
enum status_code pid_status;
--
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