Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75038 - trunk/boost/test/impl
From: gennadiy.rozental_at_[hidden]
Date: 2011-10-18 05:46:24


Author: rogeeff
Date: 2011-10-18 05:46:23 EDT (Tue, 18 Oct 2011)
New Revision: 75038
URL: http://svn.boost.org/trac/boost/changeset/75038

Log:
use stderr as default stream for reporting leak errors (the same as any other reports)
Fixes #5036

Text files modified:
   trunk/boost/test/impl/debug.ipp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/test/impl/debug.ipp
==============================================================================
--- trunk/boost/test/impl/debug.ipp (original)
+++ trunk/boost/test/impl/debug.ipp 2011-10-18 05:46:23 EDT (Tue, 18 Oct 2011)
@@ -935,7 +935,7 @@
         _CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE);
 
         if( report_file.is_empty() )
- _CrtSetReportFile(_CRT_WARN, _CRTDBG_FILE_STDOUT);
+ _CrtSetReportFile(_CRT_WARN, _CRTDBG_FILE_STDERR);
         else {
             HANDLE hreport_f = ::CreateFileA( report_file.begin(),
                                               GENERIC_WRITE, FILE_SHARE_WRITE, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);


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