]> git.saurik.com Git - ldid.git/commitdiff
DiskFolder still hasn't been tested #if __WIN32__.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 26 Aug 2016 04:17:26 +0000 (21:17 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 26 Aug 2016 04:17:26 +0000 (21:17 -0700)
ldid.cpp

index 88ae5f15b15cd1fb589ae447e7cb2847ac8170ec..a721eaadc8409d9f703ac4289e57bafdd798f64f 100644 (file)
--- 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;