Re: [Boost-bugs] [Boost C++ Libraries] #10145: boost::filesystem::is_directory() returns false for a directory in Windows

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10145: boost::filesystem::is_directory() returns false for a directory in Windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-06-25 12:08:53


#10145: boost::filesystem::is_directory() returns false for a directory in Windows
-------------------------------------------------+-------------------------
  Reporter: Martin Ghazaryan | Owner: bemandawes
  <martin.ghazaryan@…> | Status: new
      Type: Bugs | Component: filesystem
 Milestone: To Be Determined | Severity: Problem
   Version: Boost 1.55.0 | Keywords:
Resolution: |
-------------------------------------------------+-------------------------

Comment (by Martin Ghazaryan <martin.ghazaryan@…>):

 Wrapping the above reproduction procedure into a code block (sorry,
 should've done originally):


 {{{
 C:\>mkdir temp_dir
 C:\>cd temp_dir
 C:\>for /L %i in (1, 1, 2000) do mkdir test_dir_%i
 C:\>mkdir test_dir

 Now try to execute the following statements under a debugger:
 'is_directory()' always returns false.

 boost::filesystem::path directory("C:\\temp_dir\\test_dir");
 bool isDir = boost::filesystem::is_directory(directory);
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10145#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC