Boost logo

Boost-Commit :

From: eric_at_[hidden]
Date: 2008-04-14 02:53:50


Author: eric_niebler
Date: 2008-04-14 02:53:50 EDT (Mon, 14 Apr 2008)
New Revision: 44406
URL: http://svn.boost.org/trac/boost/changeset/44406

Log:
Merged revisions 44396,44404 via svnmerge from
https://svn.boost.org/svn/boost/trunk

........
  r44396 | rogeeff | 2008-04-13 22:51:49 -0700 (Sun, 13 Apr 2008) | 2 lines
  
  initiaize stack_t structure with nulls, before calling sigaltstack
........
  r44404 | emildotchevski | 2008-04-13 23:27:40 -0700 (Sun, 13 Apr 2008) | 1 line
  
  minor fix
........

Properties modified:
   branches/proto/v4/ (props changed)
Text files modified:
   branches/proto/v4/boost/exception/detail/is_output_streamable.hpp | 16 +---------------
   branches/proto/v4/boost/test/impl/execution_monitor.ipp | 1 +
   2 files changed, 2 insertions(+), 15 deletions(-)

Modified: branches/proto/v4/boost/exception/detail/is_output_streamable.hpp
==============================================================================
--- branches/proto/v4/boost/exception/detail/is_output_streamable.hpp (original)
+++ branches/proto/v4/boost/exception/detail/is_output_streamable.hpp 2008-04-14 02:53:50 EDT (Mon, 14 Apr 2008)
@@ -14,20 +14,6 @@
     namespace
     to_string_detail
         {
- template <bool>
- struct
- is_output_streamable_dispatch
- {
- enum e { value=1 };
- };
-
- template <>
- struct
- is_output_streamable_dispatch<false>
- {
- enum e { value=0 };
- };
-
         template <class T,class CharT,class Traits>
         char operator<<( std::basic_ostream<CharT,Traits> &, T const & );
 
@@ -37,7 +23,7 @@
             {
             static std::basic_ostream<CharT,Traits> & f();
             static T const & g();
- enum e { value=is_output_streamable_dispatch<1!=sizeof(f()<<g())>::value };
+ enum e { value=1!=(sizeof(f()<<g())) };
             };
         }
 

Modified: branches/proto/v4/boost/test/impl/execution_monitor.ipp
==============================================================================
--- branches/proto/v4/boost/test/impl/execution_monitor.ipp (original)
+++ branches/proto/v4/boost/test/impl/execution_monitor.ipp 2008-04-14 02:53:50 EDT (Mon, 14 Apr 2008)
@@ -638,6 +638,7 @@
 #ifdef BOOST_TEST_USE_ALT_STACK
     if( alt_stack ) {
         stack_t sigstk;
+ std::memset( &sigstk, 0, sizeof(stack_t) );
 
         BOOST_TEST_SYS_ASSERT( ::sigaltstack( 0, &sigstk ) != -1 );
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk