Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81196 - trunk/boost/test/impl
From: gennadiy.rozental_at_[hidden]
Date: 2012-11-05 04:23:03


Author: rogeeff
Date: 2012-11-05 04:23:00 EST (Mon, 05 Nov 2012)
New Revision: 81196
URL: http://svn.boost.org/trac/boost/changeset/81196

Log:
enlarge error buffer size ten fold to handle long errors from boost::exception; Fixes #7046
Text files modified:
   trunk/boost/test/impl/execution_monitor.ipp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/test/impl/execution_monitor.ipp
==============================================================================
--- trunk/boost/test/impl/execution_monitor.ipp (original)
+++ trunk/boost/test/impl/execution_monitor.ipp 2012-11-05 04:23:00 EST (Mon, 05 Nov 2012)
@@ -216,7 +216,7 @@
 static void
 report_error( execution_exception::error_code ec, boost::exception const* be, char const* format, va_list* args )
 {
- static const int REPORT_ERROR_BUFFER_SIZE = 512;
+ static const int REPORT_ERROR_BUFFER_SIZE = 4096;
     static char buf[REPORT_ERROR_BUFFER_SIZE];
 
     BOOST_TEST_VSNPRINTF( buf, sizeof(buf)-1, format, *args );


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