From: Jay Freeman (saurik) Date: Fri, 26 Aug 2016 04:17:26 +0000 (-0700) Subject: DiskFolder still hasn't been tested #if __WIN32__. X-Git-Tag: v2.1.0~42 X-Git-Url: https://git.saurik.com/ldid.git/commitdiff_plain/255e1652c4ea6e8dad01a74338a9debc7e9562af DiskFolder still hasn't been tested #if __WIN32__. --- diff --git a/ldid.cpp b/ldid.cpp index 88ae5f1..a721eaa 100644 --- a/ldid.cpp +++ b/ldid.cpp @@ -1711,7 +1711,7 @@ void DiskFolder::Find(const std::string &root, const std::string &base, const Fu #ifdef __WIN32__ struct stat info; - _syscall(stat(path.c_str(), &info)); + _syscall(stat((path + name).c_str(), &info)); if (false); else if (S_ISDIR(info.st_mode)) directory = true;