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