[pkg-boost-commits] r14510 - boost/trunk/debian/patches
Steven Michael Robbins
smr at alioth.debian.org
Sun Oct 4 06:44:01 UTC 2009
Author: smr
Date: 2009-10-04 06:44:00 +0000 (Sun, 04 Oct 2009)
New Revision: 14510
Modified:
boost/trunk/debian/patches/boost-test-invalid-read.patch
Log:
Update patch for 1.40.
Modified: boost/trunk/debian/patches/boost-test-invalid-read.patch
===================================================================
--- boost/trunk/debian/patches/boost-test-invalid-read.patch 2009-10-04 05:00:44 UTC (rev 14509)
+++ boost/trunk/debian/patches/boost-test-invalid-read.patch 2009-10-04 06:44:00 UTC (rev 14510)
@@ -3,25 +3,25 @@
Patch taken from http://www.nabble.com/-Boost.Test--valgrind-complains-about-invalid-reads-td20500154.html
---- boost1.39-1.39.0.orig/boost/test/impl/framework.ipp
-+++ boost1.39-1.39.0/boost/test/impl/framework.ipp
-@@ -125,12 +125,8 @@
+--- boost1.40-1.40.0.orig/boost/test/impl/framework.ipp
++++ boost1.40-1.40.0/boost/test/impl/framework.ipp
+@@ -125,12 +125,7 @@
{
while( !m_test_units.empty() ) {
test_unit_store::value_type const& tu = *m_test_units.begin();
-
- // the delete will erase this element from map
-- if( test_id_2_unit_type( tu.second->p_id ) == tut_suite )
-- delete (test_suite const*)tu.second;
+- // the delete will erase this element from map
+- if( ut_detail::test_id_2_unit_type( tu.second->p_id ) == tut_suite )
+- delete static_cast<test_suite const*>(tu.second);
- else
-- delete (test_case const*)tu.second;
+- delete static_cast<test_case const*>(tu.second);
+ delete tu.second;
}
}
---- boost1.39-1.39.0.orig/boost/test/unit_test_suite_impl.hpp
-+++ boost1.39-1.39.0/boost/test/unit_test_suite_impl.hpp
-@@ -71,8 +71,7 @@
+--- boost1.40-1.40.0.orig/boost/test/unit_test_suite_impl.hpp
++++ boost1.40-1.40.0/boost/test/unit_test_suite_impl.hpp
+@@ -76,8 +76,7 @@
void increase_exp_fail( unsigned num );
More information about the pkg-boost-commits
mailing list