dbus/dbus dbus-sysdeps-win.c,1.10,1.11
Ralf Habacker
rhabacker at kemper.freedesktop.org
Mon May 14 08:34:49 PDT 2007
Update of /cvs/dbus/dbus/dbus
In directory kemper:/tmp/cvs-serv12200/dbus
Modified Files:
dbus-sysdeps-win.c
Log Message:
* dbus/dbus-sysdeps-win.c (_dbus_printf_string_upper_bound): compile fix for MS Platform SDK 6 patch from Michael Luschas <mluschas at gmail.com>
Index: dbus-sysdeps-win.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-sysdeps-win.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- dbus-sysdeps-win.c 26 Apr 2007 09:30:38 -0000 1.10
+++ dbus-sysdeps-win.c 14 May 2007 15:34:46 -0000 1.11
@@ -1609,12 +1609,12 @@
*/
char p[1024];
int len;
- len = vsnprintf (p, sizeof(p)-1, format, args);
+ len = _vsnprintf (p, sizeof(p)-1, format, args);
if (len == -1) // try again
{
char *p;
p = malloc (strlen(format)*3);
- len = vsnprintf (p, sizeof(p)-1, format, args);
+ len = _vsnprintf (p, sizeof(p)-1, format, args);
free(p);
}
return len;
More information about the dbus-commit
mailing list