7162956 LSI SNMP subagent get/getNext/set requests are failing on SPARC
authorPetr Cvachoucek <petr.cvachoucek@oracle.com>
Tue, 19 Jun 2012 11:55:25 -0700
changeset 876 46e15d3fb303
parent 875 5e870fe2b411
child 877 b1a9a2c48018
7162956 LSI SNMP subagent get/getNext/set requests are failing on SPARC
components/net-snmp/patches/025.7162956.util_funcs.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/net-snmp/patches/025.7162956.util_funcs.patch	Tue Jun 19 11:55:25 2012 -0700
@@ -0,0 +1,11 @@
+--- a/agent/mibgroup/util_funcs.c	2007-01-11 23:13:56.000000000 +0100
++++ b/agent/mibgroup/util_funcs.c	2012-06-01 13:20:07.243670066 +0200
[email protected]@ -254,7 +254,7 @@
+ #if HAVE_EXECV
+     char            cachefile[STRMAX];
+     char            cache[NETSNMP_MAXCACHESIZE];
+-    ssize_t         cachebytes;
++    int             cachebytes;
+     int             cfd;
+ #ifdef NETSNMP_EXCACHETIME
+     long            curtime;