On Thu, 17 Jun 2004 23:21:40 -0400 Mike wrote:
MS> Mike Slifcak wrote:
MS> > William A.Carrel wrote:
MS> > 
MS> >> In agent/mibgroup/util_funcs.c:~228, cachebytes needs to be ssize_t.  
MS> >> Left as size_t breaks the if(cachebytes < 0) when the read() above it  
MS> >> returns -1, and is a type-mismatch with read() return value on all  
MS> >> platforms I've been able to find anyway.
MS> >> [...]
MS> >> https://sourceforge.net/tracker/index.php? 
MS> >> func=detail&aid=936483&group_id=12694&atid=112694
MS> >>
MS> >> Please back out patch #860575 to fix this issue.
MS> > 
MS> > I assume that you have independently verified that
MS> > pass and pass_persist work when you revert that line to ssize_t ?
MS> > 
MS> > After that line was changed from size_t back to ssize_t,
MS> > Builds on FreeBSD, Linux, and Win32 compile and run without problems.
MS> > 
MS> > I did not run pass nor pass_persist, as the problem description
MS> > indicates the error occurs under certain conditions.
MS> > 
MS> > The one line change was committed to V5-1-patches and main CVS branches,
MS> > and will be available in the next release.
MS> > [...]
MS> 
MS> -Coders, Should this also be applied to 5.0 patches branch ?

Yep, looks good. I'd add a comment to the patch being backed out, so Sun can
re-test on 64bit. I suspect the bug report is right - the problem was in the
script, not the code.

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to