Ticket #7750: indirect_streambuf.hpp.patch
File indirect_streambuf.hpp.patch, 896 bytes (added by , 10 years ago) |
---|
-
indirect_streambuf.hpp
17 17 #include <cassert> 18 18 #include <exception> 19 19 #include <typeinfo> 20 #include <cxxabi-forced.h> 20 21 #include <boost/config.hpp> // Member template friends. 21 22 #include <boost/detail/workaround.hpp> 22 23 #include <boost/iostreams/constants.hpp> … … 314 315 sync_impl(); 315 316 obj().flush(next_); 316 317 return 0; 318 } catch (__cxxabiv1::__forced_unwind&) { 319 __throw_exception_again; 317 320 } catch (...) { return -1; } 318 321 } 319 322 … … 323 326 try { // sync() is no-throw. 324 327 sync_impl(); 325 328 return obj().flush(next_); 329 } catch (__cxxabiv1::__forced_unwind&) { 330 __throw_exception_again; 326 331 } catch (...) { return false; } 327 332 } 328 333