On Fri, 21 Oct 2005 10:01:48 +0100 Dave wrote:
DS> if (getKstatInt("unix", "system_misc", "nproc", &nproc) != 0)
DS>
DS> This doesn't rely on the particular semantics of mapping numeric
DS> values to true/false.
DS>
DS> (There's also an good argument for putting the constant first,
DS> though personally I strongly dislike this layout).
I thought that was just for testing against variables, to prevent accidental
assignment?
DS> It's your code, Bruce.
DS> As long as it works correctly, nobody is going to pull rank and
DS> override you.
That's not true. The reason he's asking here is that he checked in new code
during the rc phase of a release. Everyone's code is subject to being yanked
at this stage.
--
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.
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders