Author: vitek
Date: Fri Mar 28 10:42:05 2008
New Revision: 642317

URL: http://svn.apache.org/viewvc?rev=642317&view=rev
Log:

2008-03-28  Travis Vitek  <[EMAIL PROTECTED]>

        * tests/src/driver.cpp (rw_enable): Reverse logic so that returned
        value is correct and consistent with documentation.

Modified:
    stdcxx/trunk/tests/src/driver.cpp

Modified: stdcxx/trunk/tests/src/driver.cpp
URL: 
http://svn.apache.org/viewvc/stdcxx/trunk/tests/src/driver.cpp?rev=642317&r1=642316&r2=642317&view=diff
==============================================================================
--- stdcxx/trunk/tests/src/driver.cpp (original)
+++ stdcxx/trunk/tests/src/driver.cpp Fri Mar 28 10:42:05 2008
@@ -1562,7 +1562,7 @@
         return false;
     }
 
-    const bool enabled = 0 != (_rw_diag_ignore & (1 << diag));
+    const bool enabled = 0 == (_rw_diag_ignore & (1 << diag));
 
     // if (enable)
     //     _rw_diag_ignore &= ~(1 << diag);


Reply via email to