diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2008-02-21 12:02:58 -0500 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2008-02-21 12:02:58 -0500 |
commit | 7d409700c354e7a35989053ba037750d320a308a (patch) | |
tree | edf3fdf220d00c74b7abdae01644570d43cb751e | |
parent | b53e46c2e2dc949e697cc76a076d626a4ffdd0c0 (diff) |
fixes dbus-launch so the bus goes away when X does (Red Hat Bug #430412)
* tools/dbus-launch.c (main): set xdisplay = NULL
* Patch by Matthias Clasen <mclasen at redhat.com>
+
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | tools/dbus-launch.c | 2 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2008-02-21 John (J5) Palmieri <johnp@redhat.com> + + * fixes dbus-launch so the bus goes away when X does + (Red Hat Bug #430412) + * tools/dbus-launch.c (main): set xdisplay = NULL + * Patch by Matthias Clasen <mclasen at redhat.com> + 2008-01-17 John (J5) Palmieri <johnp@redhat.com> * Released 1.1.4 diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c index 894847ea..5d6e77e8 100644 --- a/tools/dbus-launch.c +++ b/tools/dbus-launch.c @@ -966,6 +966,8 @@ main (int argc, char **argv) char write_pid_fd_as_string[MAX_FD_LEN]; char write_address_fd_as_string[MAX_FD_LEN]; + xdisplay = NULL; + if (close_stderr) do_close_stderr (); |