dbus-launch problem in 1.1.4

Steev Klimaszewski steev at gentoo.org
Wed Feb 6 16:14:58 PST 2008


On Tue, 2008-02-05 at 08:59 -0500, Matthias Clasen wrote:
> I believe this might be enough to fix the problem:
> 
> 
> 
> diff -up dbus-1.1.4/tools/dbus-launch.c.nox dbus-1.1.4/tools/dbus-launch.c
> --- dbus-1.1.4/tools/dbus-launch.c.nox  2008-02-05 08:56:57.000000000 -0500
> +++ dbus-1.1.4/tools/dbus-launch.c      2008-02-05 08:54:22.000000000 -0500
> @@ -971,6 +971,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 ();
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus


Except that if you build without X support, this causes an error :)  But
for those with X support, it does indeed fix the problem



More information about the dbus mailing list