[Pkg-libvirt-commits] [SCM] Libvirt Debian packaging branch, master, updated. debian/0.7.2-1-4-g59e1e53
Laurent Léonard
laurent at open-minds.org
Tue Nov 3 02:22:54 UTC 2009
The following commit has been merged in the master branch:
commit a4db804be9d8b09f1bcacf36920f6b2e077e466f
Author: Laurent Léonard <laurent at open-minds.org>
Date: Tue Nov 3 03:19:19 2009 +0100
Update debian/patches/0006-Don-t-let-parent-of-daemon-exit-until-basic-initiali.patch.
Fix use of an uninitialized variable that was causing a bug on i386 systems.
diff --git a/debian/patches/0006-Don-t-let-parent-of-daemon-exit-until-basic-initiali.patch b/debian/patches/0006-Don-t-let-parent-of-daemon-exit-until-basic-initiali.patch
index 5b5935e..1e3e93c 100644
--- a/debian/patches/0006-Don-t-let-parent-of-daemon-exit-until-basic-initiali.patch
+++ b/debian/patches/0006-Don-t-let-parent-of-daemon-exit-until-basic-initiali.patch
@@ -1,13 +1,13 @@
-From: =?utf-8?q?Laurent=20L=C3=A9onard?= <laurent at open-minds.org>
+From: =?UTF-8?q?Laurent=20L=C3=A9onard?= <laurent at open-minds.org>
Date: Sun, 25 Oct 2009 01:36:36 +0200
Subject: [PATCH] Don't let parent of daemon exit until basic initialization is done.
---
- daemon/libvirtd.c | 116 +++++++++++++++++++++++++++++++++++++++++++++--------
- 1 files changed, 99 insertions(+), 17 deletions(-)
+ daemon/libvirtd.c | 118 +++++++++++++++++++++++++++++++++++++++++++++--------
+ 1 files changed, 100 insertions(+), 18 deletions(-)
diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c
-index 78dfb2d..d102c66 100644
+index 78dfb2d..57ef4be 100644
--- a/daemon/libvirtd.c
+++ b/daemon/libvirtd.c
@@ -185,6 +185,30 @@ static int max_client_requests = 5;
@@ -89,7 +89,8 @@ index 78dfb2d..d102c66 100644
+ /* We wait to make sure the first child forked successfully */
+ if ((got = waitpid(pid, &exitstatus, 0)) < 0 ||
got != pid ||
- status != 0) {
+- status != 0) {
++ exitstatus != 0) {
return -1;
}
- _exit(0);
--
Libvirt Debian packaging
More information about the Pkg-libvirt-commits
mailing list