Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76632 - in trunk/libs/filesystem/v3: doc src
From: bdawes_at_[hidden]
Date: 2012-01-21 21:18:38


Author: bemandawes
Date: 2012-01-21 21:18:37 EST (Sat, 21 Jan 2012)
New Revision: 76632
URL: http://svn.boost.org/trac/boost/changeset/76632

Log:
Fix a bug in director_iterator construction with error_code argument that caused increment to be called without the ec argument being passed. Reported by anonymous as ticket #5900 comment 3.
Text files modified:
   trunk/libs/filesystem/v3/doc/release_history.html | 18 ++++++++++++++++++
   trunk/libs/filesystem/v3/src/operations.cpp | 2 +-
   2 files changed, 19 insertions(+), 1 deletions(-)

Modified: trunk/libs/filesystem/v3/doc/release_history.html
==============================================================================
--- trunk/libs/filesystem/v3/doc/release_history.html (original)
+++ trunk/libs/filesystem/v3/doc/release_history.html 2012-01-21 21:18:37 EST (Sat, 21 Jan 2012)
@@ -40,6 +40,24 @@
 <ul>
   <li>Fix directory_iterator access violation on Windows if error is thrown
   (#5900). Thanks to Andreas Eckleder for the patch.</li>
+ <li>Fix a bug in director_iterator construction with error_code argument that
+ caused increment to be called without the ec argument being passed. Reported
+ by anonymous as ticket #5900 comment 3.</li>
+ <li>Cleaned up test suite path_test.cpp code issues exposed by #5989 even
+ though the ticket itself was NAD. Clarified docs; iteration over a path yields
+ generic format.</li>
+ <li>Added test cases and fixes for class path errors when assignment or append
+ used self or portion of self as source. Fixes ticket #3714.</li>
+ <li>Change Windows codecvt processing from CP_THREAD_ACP to CP_ACP, resolving
+ ticket #5592.</li>
+ <li>Operations function fixes for PGI compiler, thanks to Noel Belcourt.</li>
+ <li>Relax permissions test to reflect reality, particularly on the Sandia test
+ platforms.</li>
+ <li>Fix #4889, #6320, Locale codecvt_facet not thread safe on Windows. Move
+ Windows, Mac OS X, locale and codecvt facet back to namespace scope. POSIX
+ except OS X uses local static initialization (IE lazy) to ensure exceptions
+ are catchable if environmental variables are misconfigured and to avoid use of
+ locale(&quot;&quot;) if not actually used.</li>
 </ul>
 
 <h2>1.48.0</h2>

Modified: trunk/libs/filesystem/v3/src/operations.cpp
==============================================================================
--- trunk/libs/filesystem/v3/src/operations.cpp (original)
+++ trunk/libs/filesystem/v3/src/operations.cpp 2012-01-21 21:18:37 EST (Sat, 21 Jan 2012)
@@ -2146,7 +2146,7 @@
         && (filename.size()== 1
           || (filename[1] == dot
             && filename.size()== 2)))
- { it.increment(); }
+ { it.increment(*ec); }
     }
   }
 


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