Bug 14259 - Make session address lookup system-dependent
authorColin Walters <walters@verbum.org>
Mon, 13 Jul 2009 16:47:19 +0000 (12:47 -0400)
committerColin Walters <walters@verbum.org>
Tue, 14 Jul 2009 19:41:40 +0000 (15:41 -0400)
commit44062b35af52e60b8e302488c556af0ad4443970
treec38080f469aa38e7979469e7157970f921717c8b
parent8420a5bb5733f30d591ef6bbba8446fc9f42d3a1
Bug 14259 - Make session address lookup system-dependent

On some platforms such as MacOS X and Windows, we can't depend
on an environment variable to determine the address of the
session bus.  Create a sysdep function dbus_lookup_session_address
which can be filled in with platform-specific code.
(cherry picked from commit 6478ec6949c6bb794237b43d03b68f80eba1288c)
dbus/dbus-bus.c
dbus/dbus-sysdeps-unix.c
dbus/dbus-sysdeps-win.c
dbus/dbus-sysdeps.h