[Pkg-net-snmp-devel] Bug#765289: misformats enums when callback is in use
Steinar H. Gunderson
sgunderson at bigfoot.com
Mon Oct 13 22:17:35 UTC 2014
Package: libsnmp-perl
Version: 5.7.2.1~dfsg-7
Severity: normal
Tags: patch upstream
Hi,
When using e.g. gettable (or simply getnext, as far as I can see,
but I've only tried with gettable) and a callback, the value of
UseEnums is ignored, and you always get just the number.
Attached is a simple patch to fix the issue; it seems one just forgot
to copy the code to set the right flags from the synchronous path into
the callback path.
I haven't had luck with upstream responding to patches, so I'm sending it to
the BTS in the hope that it gets included for jessie, but it should of course
go upstream as well.
-- System Information:
Debian Release: 7.6
APT prefers stable
APT policy: (750, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.3 (SMP w/40 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libsnmp-perl depends on:
ii libc6 2.13-38+deb7u4
ii libsnmp30 5.7.2.1~dfsg-7
ii libssl1.0.0 1.0.1e-2+deb7u12
ii perl 5.14.2-21+deb7u1
ii perl-base [perlapi-5.14.2] 5.14.2-21+deb7u1
libsnmp-perl recommends no packages.
libsnmp-perl suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: callback_print.diff
Type: text/x-diff
Size: 716 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20141014/97b9a474/attachment.diff>
More information about the Pkg-net-snmp-devel
mailing list