and another .def.in for the verbose mode handling
[platform/upstream/dbus.git] / dbus-win.patch
1 Index: dbus/dbus-bus.c
2 ===================================================================
3 RCS file: /cvs/dbus/dbus/dbus/dbus-bus.c,v
4 retrieving revision 1.64
5 diff -u -r1.64 dbus-bus.c
6 --- dbus/dbus-bus.c     28 Oct 2006 01:41:37 -0000      1.64
7 +++ dbus/dbus-bus.c     8 Mar 2007 20:25:40 -0000
8 @@ -350,8 +350,10 @@
9  {
10    int i;
11    
12 +#if !defined(DBUS_WIN) && !defined(DBUS_WINCE)
13 +   // qt example pong says "QMutex::lock: Deadlock detected"
14    _DBUS_LOCK (bus);
15 -
16 +#endif
17    /* We are expecting to have the connection saved in only one of these
18     * slots, but someone could in a pathological case set system and session
19     * bus to the same bus or something. Or set one of them to the starter
20 @@ -366,7 +368,9 @@
21          }
22      }
23  
24 +#if !defined(DBUS_WIN) && !defined(DBUS_WINCE)
25    _DBUS_UNLOCK (bus);
26 +#endif
27  }
28  
29  static DBusConnection *