Boost C++ Libraries: Ticket #146: filesytem::directory_iterator portability https://svn.boost.org/trac10/ticket/146 <pre class="wiki">From the documentation: "The leaf of a path returned by dereferencing a directory_iterator will never be "." or ".."" - the current posix/windows implementation of directory_iterator assumes that the "." and ".." directories will always be the first items returned by the native platform API. This is not a safe assumption to make and has proven incorrect on at least one Linux system. Enclosed patch modifies the directory_iterator implementation to test for "." and ".." in m_inc() to handle this case. Timothy M. Shead tshead@k-3d.com </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/146 Trac 1.4.3 beman_dawes Mon, 28 Nov 2005 18:49:38 GMT status changed https://svn.boost.org/trac10/ticket/146#comment:1 https://svn.boost.org/trac10/ticket/146#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> Ticket