dbus/dbus dbus-sysdeps-win-thread.c,1.1,1.2

Ralf Habacker rhabacker at kemper.freedesktop.org
Wed Dec 13 09:14:26 PST 2006


Update of /cvs/dbus/dbus/dbus
In directory kemper:/tmp/cvs-serv24355/dbus

Modified Files:
	dbus-sysdeps-win-thread.c 
Log Message:
2006-12-13  Ralf Habacker  <ralf.habacker at freenet.de>

	* dbus/dbus-sysdeps-win-thread.c (_dbus_condvar_wait_win32):
	correctness fix. - Patch from Christian Ehrlicher

Index: dbus-sysdeps-win-thread.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-sysdeps-win-thread.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- dbus-sysdeps-win-thread.c	27 Oct 2006 01:09:24 -0000	1.1
+++ dbus-sysdeps-win-thread.c	13 Dec 2006 17:14:24 -0000	1.2
@@ -24,6 +24,7 @@
 #include "dbus-internals.h"
 #include "dbus-sysdeps.h"
 #include "dbus-threads.h"
+#include "dbus-list.h"
 
 #include <windows.h>
 
@@ -172,7 +173,7 @@
   EnterCriticalSection (&cond->lock);
 
   /* Now event must not be inside the array, check this */
-  _dbus_assert (_dbus_list_remove (cond->list, event) == FALSE);
+  _dbus_assert (_dbus_list_remove (&cond->list, event) == FALSE);
 
   LeaveCriticalSection (&cond->lock);
 #endif /* !G_DISABLE_ASSERT */
@@ -241,7 +242,7 @@
   _dbus_windows_condvar_wake_all
 };
 
-void
+dbus_bool_t
 _dbus_threads_init_platform_specific (void)
 {
   /* We reuse this over several generations, because we can't



More information about the dbus-commit mailing list