Re: Net-SNMP 5.4.3.rc2 and 5.2.6.rc2 available for testing

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Fri, May 7, 2010 at 3:55 PM, Dave Shield <[email protected]>wrote:

> On 6 May 2010 17:12, Bart Van Assche <[email protected]> wrote:
> > There is one open issue for the V5.4 branch I'm absolutely not happy
> with:
> >
> http://www.mail-archive.com/[email protected]/msg25049.html
> .
>
> That seems to be a consequence of patch #2890931
> (to add support of Counter64 values within the perl module).
>
> I've had a quick attempt to add 'snmplib/strtoull.c' to the Win32 build
> environment, but without any success.   I'm inclined to reverse the
> above patch (and re-open the tracker entry), so that we can get the
> releases out with no further delay.
>
> Unless anyone can provide a fix for the strtoull compilation problem....
>
> Note that the only other occurance of this call are as follows:
>
>    mibgroup/util_funcs
>    sctp-mib/sctp{Scalars,Tables}_linux.c
>    udp-mib/data_access/udp_endpoint_linux.c
>
>              (all Linux-only code)
>
>    if-mib/data_access_interface.c
>
>             (any architecture)
>

The Perl Counter64 code is buggy anyway, with or without patch #2890931.
According to the strtoul() and strtoull() man pages, it is not guaranteed
that errno is set when the conversion of a non-zero argument succeeded. See
also
http://www.opengroup.org/onlinepubs/000095399/functions/strtoul.html.

Bart.

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

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.