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

Subject: [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 11:51:11


#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: |
-------------------------------------------------+-------------------------
 'filesystem::is_directory()' returns false for a directory with whole
 bunch of sibling directories. Run the following commands to create 2000
 sub-directories:

 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>
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