[maemo-commits] [maemo-commits] r14321 - projects/haf/trunk/dbus-glib/debian/patches

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Oct 4 15:27:57 EEST 2007
Author: kihamala
Date: 2007-10-04 15:27:56 +0300 (Thu, 04 Oct 2007)
New Revision: 14321

Added:
   projects/haf/trunk/dbus-glib/debian/patches/09-replace-invalid-assert.patch
Log:
added patch for an invalid assert


Added: projects/haf/trunk/dbus-glib/debian/patches/09-replace-invalid-assert.patch
===================================================================
--- projects/haf/trunk/dbus-glib/debian/patches/09-replace-invalid-assert.patch	2007-10-04 12:27:36 UTC (rev 14320)
+++ projects/haf/trunk/dbus-glib/debian/patches/09-replace-invalid-assert.patch	2007-10-04 12:27:56 UTC (rev 14321)
@@ -0,0 +1,16 @@
+diff -pur dbus-glib-0.74/dbus/dbus-gproxy.c dbus-glib-0.74.new/dbus/dbus-gproxy.c
+--- dbus-glib-0.74/dbus/dbus-gproxy.c	2007-04-20 19:36:09.000000000 +0300
++++ dbus-glib-0.74.new/dbus/dbus-gproxy.c	2007-10-04 15:24:56.088323208 +0300
+@@ -2167,7 +2167,11 @@ dbus_g_proxy_begin_call_internal (DBusGP
+                                         timeout))
+     goto oom;
+   dbus_message_unref (message);
+-  g_assert (pending != NULL);
++  if (pending == NULL)
++    {
++      g_error ("Disconnected");
++      return 0;
++    }
+ 
+   call_id = ++priv->call_id_counter;
+ 


More information about the maemo-commits mailing list