[Boost-bugs] [Boost C++ Libraries] #13310: boost::filesystem::exists(".") fails on Mac OS Sierra

Subject: [Boost-bugs] [Boost C++ Libraries] #13310: boost::filesystem::exists(".") fails on Mac OS Sierra
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-11-23 21:42:10


#13310: boost::filesystem::exists(".") fails on Mac OS Sierra
------------------------------+-------------------------
 Reporter: anonymous | Owner: Beman Dawes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
  Version: Boost 1.65.0 | Severity: Problem
 Keywords: |
------------------------------+-------------------------
 I installed Boost 1.65.1 on Mac OS Sierra 10.12.6 using mac port. When I
 run the program tut1.cpp from the Boost Filesystem tutorial, the program
 fails to find files and directories that exist. The following simple test
 code returns 1 on linux and 0 on Mac OS:

 #include <iostream>
 #include <boost/filesystem.hpp>

 int main() {

   // This line should print 1 but it prints 0 on Mac OS
   std::cout << boost::filesystem::exists(".") << std::endl;

   return 0;
 }

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13310>
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-11-23 21:48:38 UTC