On Mon, 14 Nov 2005 16:30:27 +0000 Dave wrote:
DS> As far as the 5.3 stuff is concerned, I may have got the wrong idea.
DS> You seemed to be talking about breaking backwards compatibility,
DS> and moving things from one library to another.  That felt more
DS> than simply fixing bugs, which is why I queried it.

I did break backwards compatibility by using the global 'running' in the agent
library, which worked for snmpd and snmptrapd. Other apps using the agent
library, however, like subagents, got the link error Magnus reported.

So the quick (and simple/safe, IMHO) fix was to define 'netsnmp_running' in
the agent library, and have the apps use that in their main loops.

I debated also making a library function to install signal handlers for
sigterm/sigint, since that code is duplicated in all the daemon apps. But that
was a little bigger change, so I let it be.

-- 
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to