Committed to my oss tree, suggest others pull into their trees.
These changes fix a long-standing corner-case problem with pmie and the
&& and || operators in the presence of "unknown" values.
With these changes the new QA 319 passes, as does QA for -g pmie -x
remote.
Changes committed to git://oss.sgi.com/kenj/pcp.git dev
src/pmie/src/andor.c | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
commit 6fbb8bad75f73c758c0b920a1e61137ad9f2f752
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Apr 21 19:36:56 2009 +1000
Fix && and || operators with undefined operands
The logic here needs to accommodate tri-state logic (true, false
or unknown) across operands that may have singular vales or be
set valued.
The previous code was incomplete in some respects.
These changes allow the expands QA 319 to pass.
|