Merge pull request #1520 from tambry/shhh_penguin_is_ok
Fix directory opening on Linux systems (Fixes #1494)
This commit is contained in:
+1
-1
@@ -856,7 +856,7 @@ bool fs::dir::open(const std::string& dirname)
|
||||
|
||||
m_dd = -1;
|
||||
#else
|
||||
const auto ptr = ::opendir(m_path.get());
|
||||
const auto ptr = ::opendir(dirname.c_str());
|
||||
if (!ptr)
|
||||
{
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user