[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, master, updated. v0.9.11-10-g026a6bd
Lennart Poettering
gitmailer-noreply at 0pointer.de
Wed Jul 30 16:25:42 PDT 2008
This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Sound Server" repository.
The master branch has been updated
from 0b428e7cb1efdd7330b89a9855f08c45bfa98307 (commit)
- Log -----------------------------------------------------------------
026a6bd... Work around D-Bus bug that involves dbus_shutdown() to call exit() when it shouldn't. Patch from Coling Guthrie
-----------------------------------------------------------------------
Summary of changes:
src/daemon/polkit.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
-----------------------------------------------------------------------
commit 026a6bdd0ecdc68288b2167aed6dfd4e6f407edb
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jul 31 01:25:33 2008 +0200
Work around D-Bus bug that involves dbus_shutdown() to call exit() when it shouldn't. Patch from Coling Guthrie
diff --git a/src/daemon/polkit.c b/src/daemon/polkit.c
index 256e319..dc0eee7 100644
--- a/src/daemon/polkit.c
+++ b/src/daemon/polkit.c
@@ -54,6 +54,11 @@ int pa_polkit_check(const char *action_id) {
goto finish;
}
+ /* There seems to be a bug in D-Bus that causes dbus_shutdown() to
+ * call exit() when a connection without this flag disabled was
+ * created during runtime.*/
+ dbus_connection_set_exit_on_disconnect(bus, FALSE);
+
if (!(caller = polkit_caller_new_from_pid(bus, getpid(), &dbus_error))) {
pa_log_error("Cannot get caller from PID: %s", dbus_error.message);
goto finish;
--
hooks/post-receive
PulseAudio Sound Server
More information about the pulseaudio-commits
mailing list