15997718 Interface addition/deletion causing frequent error messages in snmpd.log
17208688 MIB II SNMP table data discrepancy for network interfaces
16356248 snmpd unresponsive for 30 seconds after start with monitors set in snmpd.conf
17651108 snmpd dumps core when there are duplicate "exec" entries in snmpd.conf
--- cxx/ismpz.cc.orig 2007-09-01 03:09:03.000000000 -0700
+++ cxx/ismpz.cc 2008-04-18 10:06:50.866243982 -0700
@@ -20,11 +20,11 @@
#include <cctype>
#include <iostream>
#include <string>
-#include "gmp.h"
-#include "gmp-impl.h"
-
+#include <clocale>
using namespace std;
+#include "gmp.h"
+#include "gmp-impl.h"
// For g++ libstdc++ parsing see num_get<chartype,initer>::_M_extract_int in
// include/bits/locale_facets.tcc.
@@ -38,7 +38,12 @@
if (i.flags() & ios::skipws) // skip initial whitespace
{
#if HAVE_STD__LOCALE
- const ctype<char>& ct = use_facet< ctype<char> >(i.getloc());
+ const ctype<char>& ct =
+#ifndef _RWSTD_NO_TEMPLATE_ON_RETURN_TYPE
+ use_facet< ctype<char> >(i.getloc());
+#else
+ use_facet(i.getloc(),(ctype<char>*)0);
+#endif
#define cxx_isspace(c) (ct.is(ctype_base::space,(c)))
#else
#define cxx_isspace(c) isspace(c)