dbus/dbus dbus-server.c,1.54,1.55
Ralf Habacker
rhabacker at kemper.freedesktop.org
Sat May 19 08:17:28 PDT 2007
Update of /cvs/dbus/dbus/dbus
In directory kemper:/tmp/cvs-serv27624/dbus
Modified Files:
dbus-server.c
Log Message:
* 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.
Index: dbus-server.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-server.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- dbus-server.c 21 Oct 2006 23:09:18 -0000 1.54
+++ dbus-server.c 19 May 2007 15:17:26 -0000 1.55
@@ -509,8 +509,10 @@
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 @@
{
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;
More information about the dbus-commit
mailing list