Dave Shield wrote:
>> How do we want to fix this? Introduce a configure check for va_copy and
> 
> Yes, that would probably be sensible.

Anyone knows of a ready-to-use (and appropriately licensed) va_copy configure
check that does more than just AC_CHECK_FUNC(va_copy)?

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

I think I've seen it done like this before, so we'd probably be okay.


+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