stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r642317 - /stdcxx/trunk/tests/src/driver.cpp
Date Fri, 28 Mar 2008 17:42:14 GMT
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  <vitek@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);



Mime
View raw message