Commit c3793db0 authored by Ralf Habacker's avatar Ralf Habacker

* dbus/dbus-server.c (listen_funcs): _dbus_server_listen_platform_specific is...

* dbus/dbus-server.c (listen_funcs): _dbus_server_listen_platform_specific is empty on win32, limited to unix only.
* dbus/dbus-server.c (valid_addresses): limit unix only addresses to unix.
parent aa86ddfa
2007-05-19 Ralf.Habacker <ralf.habacker@freenet.de>
* dbus/dbus-server.c (listen_funcs):
_dbus_server_listen_platform_specific is emtpy on win32,
limited to unix only.
* dbus/dbus-server.c (valid_addresses): limit unix
only addresses to unix.
2007-05-18 Havoc Pennington <hp@redhat.com>
* doc/dbus-specification.xml: add a GetAll to the Properties
......
......@@ -509,8 +509,10 @@ static const struct {
DBusServer **server_p,
DBusError *error);
} listen_funcs[] = {
{ _dbus_server_listen_socket },
{ _dbus_server_listen_platform_specific }
{ _dbus_server_listen_socket }
#ifdef DBUS_UNIX
, { _dbus_server_listen_platform_specific }
#endif
#ifdef DBUS_BUILD_TESTS
, { _dbus_server_listen_debug_pipe }
#endif
......@@ -1116,10 +1118,12 @@ _dbus_server_test (void)
{
const char *valid_addresses[] = {
"tcp:port=1234",
"unix:path=./boogie",
"tcp:host=localhost,port=1234",
"tcp:host=localhost,port=1234;tcp:port=5678",
#ifdef DBUS_UNIX
"unix:path=./boogie",
"tcp:port=1234;unix:path=./boogie",
#endif
};
DBusServer *server;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment