bug if writev is not available

Johannes Berg johannes at sipsolutions.net
Sun Nov 27 06:58:00 PST 2005


There's a bug on systems that don't have writev(), this patch fixes it:

--- a/dbus/dbus-sysdeps.c	Thu Nov 24 19:06:50 2005
+++ b/dbus/dbus-sysdeps.c	Thu Nov 24 19:08:16 2005
@@ -344,7 +344,7 @@
   }
 #else /* HAVE_WRITEV */
   {
-    int ret1;
+    int ret1, ret2;
     
     ret1 = _dbus_write (fd, buffer1, start1, len1);
     if (ret1 == len1 && buffer2 != NULL)

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 832 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/dbus/attachments/20051127/7cfa99ea/attachment.pgp


More information about the dbus mailing list