Dave Shield wrote:
> Update of /cvsroot/net-snmp/net-snmp/snmplib
> In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv20507/snmplib
> 
> Modified Files:
>       Tag: V5-2-patches
>       snmp_logging.c 
> Log Message:
> Handle long (dynamic-buffered) messages correctly.  (Bug #1516045)

This patch uses va_copy() without checking that it exists, but AFAICS there's no
va_copy() in AIX 4.3 and 5.1, for instance, so it breaks the build.

How do we want to fix this? Introduce a configure check for va_copy and

#ifndef HAVE_VA_COPY
#define va_copy(dest, src) (dest) = (src)
#endif

in snmplib/snmp_logging.c? FYI, this affects 5.2.x and later.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to