Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit 72e1ea3

Browse files
committed
try to fix stat()ing directories on windows
1 parent 51de49b commit 72e1ea3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/disk_interface.cc

-2
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,6 @@ bool StatAllFilesInDir(const string& dir, map<string, TimeStamp>* stamps,
117117
return false;
118118
}
119119
do {
120-
if (ffd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
121-
continue;
122120
string lowername = ffd.cFileName;
123121
transform(lowername.begin(), lowername.end(), lowername.begin(), ::tolower);
124122
stamps->insert(make_pair(lowername,

0 commit comments

Comments
 (0)