[netperf-dev] netperf4 commit notice r125 - branches/glib_migration/src

raj at netperf.org raj at netperf.org
Tue Apr 4 17:53:00 PDT 2006


Author: raj
Date: 2006-04-04 17:52:59 -0700 (Tue, 04 Apr 2006)
New Revision: 125

Modified:
   branches/glib_migration/src/netlib.c
   branches/glib_migration/src/netperf.h
   branches/glib_migration/src/nettest_dns.c
Log:
Misc stuff related to the Windows porting and some slop I allowed-in
while working on the AIX stuff.


Modified: branches/glib_migration/src/netlib.c
===================================================================
--- branches/glib_migration/src/netlib.c	2006-04-04 21:18:34 UTC (rev 124)
+++ branches/glib_migration/src/netlib.c	2006-04-05 00:52:59 UTC (rev 125)
@@ -260,7 +260,7 @@
   
   values[0] = 0;
   for (i = 0, j = 0; i < 10; i++) {
-    j += snprintf(&(values[j]), 256-j, ":%5lld", row[i]);
+    j += g_snprintf(&(values[j]), 256-j, ":%5lld", row[i]);
   }
   ap = xmlSetProp(hist, (xmlChar *)name, (xmlChar *)values);
   return(ap);

Modified: branches/glib_migration/src/netperf.h
===================================================================
--- branches/glib_migration/src/netperf.h	2006-04-04 21:18:34 UTC (rev 124)
+++ branches/glib_migration/src/netperf.h	2006-04-05 00:52:59 UTC (rev 125)
@@ -101,6 +101,7 @@
 #define getpid() ((int)GetCurrentProcessId())
 #define __func__ __FUNCTION__
 #define PATH_MAX MAXPATHLEN
+#define gettimeofday(a,b) g_gettimeofday(a,b)
 #else
 #define INVALID_SOCKET -1
 #define SOCKET_ERROR -1

Modified: branches/glib_migration/src/nettest_dns.c
===================================================================
--- branches/glib_migration/src/nettest_dns.c	2006-04-04 21:18:34 UTC (rev 124)
+++ branches/glib_migration/src/nettest_dns.c	2006-04-05 00:52:59 UTC (rev 125)
@@ -92,7 +92,7 @@
 #endif
 
 #ifdef HAVE_ARPA_NAMESER_COMPAT_H
-#include <arpa/onameser_compat.h>
+#include <arpa/nameser_compat.h>
 #endif
 
 #ifdef HAVE_RESOLV_H



More information about the netperf-dev mailing list