You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by vi...@apache.org on 2008/03/28 18:42:14 UTC

svn commit: r642317 - /stdcxx/trunk/tests/src/driver.cpp

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  <vi...@roguewave.com>

	* 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);