dbus/bus test-main.c,1.22,1.23
John Palmieri
johnp at kemper.freedesktop.org
Fri Sep 8 10:21:39 PDT 2006
Update of /cvs/dbus/dbus/bus
In directory kemper:/tmp/cvs-serv27860/bus
Modified Files:
test-main.c
Log Message:
* bus/test-main.c (main): Initialize threading during tests
* dbus/dbus-connection.c (_dbus_connection_new_for_transport):
Unlock connection on error
(generate_local_error_message): static method for generating
an error message when we don't have a message to reply to
(_dbus_connection_block_pending_call): Send a disconnect error
instead of just a timeout (NULL) when the bus gets disconnected
while blocking for a reply.
Index: test-main.c
===================================================================
RCS file: /cvs/dbus/dbus/bus/test-main.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- test-main.c 6 Sep 2006 00:14:06 -0000 1.22
+++ test-main.c 8 Sep 2006 17:21:37 -0000 1.23
@@ -93,11 +93,8 @@
_dbus_string_init_const (&test_data_dir, dir);
-#if 0
- /* FIXME 1.0 this is disabled because of thread bugs that need fixing... */
if (!_dbus_threads_init_debug ())
die ("initializing debug threads");
-#endif
test_pre_hook ();
printf ("%s: Running expire list test\n", argv[0]);
More information about the dbus-commit
mailing list