On 30/07/06, Thomas Anders <[EMAIL PROTECTED]> wrote:
> 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.

I did wonder about that.

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

Yes, that would probably be sensible.

> #ifndef HAVE_VA_COPY
> #define va_copy(dest, src) (dest) = (src)
> #endif
>
> in snmplib/snmp_logging.c?

If that's the correct behaviour.
I'm just unsure if copying the list head is sufficient, or whether
we'd need to do a "deep copy" of the full list.

Dave

-------------------------------------------------------------------------
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