[netperf-dev] netperf2 commit notice r302 - trunk/src
raj at netperf.org
raj at netperf.org
Wed Jun 3 17:32:17 PDT 2009
Author: raj
Date: 2009-06-03 17:32:16 -0700 (Wed, 03 Jun 2009)
New Revision: 302
Modified:
trunk/src/nettest_bsd.c
Log:
suppress a getaddrinfo bug warning now that there is an open defect filed against opensolaris
Modified: trunk/src/nettest_bsd.c
===================================================================
--- trunk/src/nettest_bsd.c 2009-06-01 18:04:38 UTC (rev 301)
+++ trunk/src/nettest_bsd.c 2009-06-04 00:32:16 UTC (rev 302)
@@ -813,8 +813,15 @@
/* if we dropped the protocol hint, it would be for a protocol that
getaddrinfo() wasn't supporting yet, not for the bug that it took
our hint and still returned zero. raj 2006-10-16 */
+ /* as there is now an open bug against (Open)Solaris (id 6847733) on
+ this behaviour we will only emit this warning if debug is set
+ under Solaris and will continue to emit it under any circumstance
+ on other platforms should it arise. raj 2009-06-03 */
if ((change_info & CHANGED_PROTOCOL) &&
!(change_warning_displayed & CHANGED_PROTOCOL) &&
+#ifdef __sun
+ (debug) &&
+#endif
(hints.ai_protocol != 0)) {
change_warning_displayed |= CHANGED_PROTOCOL;
fprintf(where,
More information about the netperf-dev
mailing list