From f61a63cefb4c931636b43ffa8f61ad3dd45d7b86 Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Fri, 8 Sep 2006 17:21:37 +0000 Subject: * 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. --- bus/test-main.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'bus') diff --git a/bus/test-main.c b/bus/test-main.c index 9c52fdbf..f7bb0cc1 100644 --- a/bus/test-main.c +++ b/bus/test-main.c @@ -93,11 +93,8 @@ main (int argc, char **argv) _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]); -- cgit