On Wed, 24 Feb 2010 02:29:22 +0100 Magnus wrote: MF> > MF> -DALL,-foo,foobar MF> > MF> shows all logs but those that start with foo and not foobar MF> > MF> > hmm... now that's a tricky one... I think that we'd want to maintain the MF> > 'first match wins' rule, so that would have to be -DALL,foobar,-foo. MF> MF> Here I would like to disagree - I think 'best match wins' is a better MF> rule to use. It also have the added advantage that it allows binary MF> searching in the token set while first match kind of forces a linear MF> search through the set.
I don't think that the debug token list is generally long enough that we need an efficient search algorithm. that said, i like the idea that order wouldn't matter. MF> Currently it is also possible to end up with multiple instances of the MF> same token in the set of enablers. How do you handle foo,-foo (or MF> -foo,foo)? (My patch makes that case impossible to end up in simply by MF> enforcing uniqueness) ooo... you have a patch too? MF> This variable is settable, what should the effect of setting it to True MF> be? Should all disablers be disabled or something else? If the answer to MF> the last question is yes, should all the enablers be disabled if it is MF> set to False? set, all is all, so i'd say it would clear the token list of all excludes and includes. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
