summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2016-08-25 21:17:26 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2016-08-25 21:17:26 -0700
commit255e1652c4ea6e8dad01a74338a9debc7e9562af (patch)
tree5b908b4dd21d3982648f5fd612fc00aee22eb578
parent9ec8439bb9c6fa330d23ffd299d716afece81d56 (diff)
downloadldid-255e1652c4ea6e8dad01a74338a9debc7e9562af.tar.gz
ldid-255e1652c4ea6e8dad01a74338a9debc7e9562af.tar.zst
ldid-255e1652c4ea6e8dad01a74338a9debc7e9562af.zip
DiskFolder still hasn't been tested #if __WIN32__.
-rw-r--r--ldid.cpp2
1 files changed, 1 insertions, 1 deletions
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;