Merge pull request #1520 from tambry/shhh_penguin_is_ok

Fix directory opening on Linux systems (Fixes #1494)
This commit is contained in:
Raul Tambre 2016-03-05 21:01:14 +02:00
commit 06cbe4a0bc

View file

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