[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-427358 ] mib2c uses undeclared ulong_ret
From:       noreply () sourceforge ! net
Date:       2001-06-22 18:38:54
[Download RAW message or body]

Bugs item #427358, was opened at 2001-05-25 11:15
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=427358&group_id=12694

Category: apps
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Karl T. Cooper (classic)
>Assigned to: Wes Hardaker (hardaker)
Summary: mib2c uses undeclared ulong_ret

Initial Comment:
When creating the routine for an Unsigned32 type scalar,
mib2c in net-snmp 4.2.1 makes a return parameter
ulong_ret; but it only defines long_ret.  The generated
code causes a compile error as a result.  This is a regression
from net-snmp 4.2, which produces compilable code.

----------------------------------------------------------------------

>Comment By: Wes Hardaker (hardaker)
Date: 2001-06-22 11:38

Message:
Logged In: YES 
user_id=76242

Fixed with the following patch:

@@ -13,6 +13,7 @@
 type:  code-varInits
 code:    /* variables we may use later */
 code:    static long long_ret;
+code:    static u_long ulong_ret;
 code:    static unsigned char string[SPRINT_MAX_LEN];
 code:    static oid objid[MAX_OID_LEN];
 code:    static struct counter64 c64;


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=427358&group_id=12694

_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/net-snmp-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic