diff options
author | Nico Weber <thakis@chromium.org> | 2014-06-27 23:11:50 (GMT) |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2014-06-27 23:11:50 (GMT) |
commit | 72e1ea3b2353b059ea094114203813e6c7d00f16 (patch) | |
tree | e6116614d98ef519c1eee37aa84ebc4c317c5161 /src/disk_interface.cc | |
parent | 51de49bbdca11ab6c1f7963f77d48e0b08246489 (diff) | |
download | Ninja-72e1ea3b2353b059ea094114203813e6c7d00f16.zip Ninja-72e1ea3b2353b059ea094114203813e6c7d00f16.tar.gz Ninja-72e1ea3b2353b059ea094114203813e6c7d00f16.tar.bz2 |
try to fix stat()ing directories on windows
Diffstat (limited to 'src/disk_interface.cc')
-rw-r--r-- | src/disk_interface.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/disk_interface.cc b/src/disk_interface.cc index ae2146e..b170f63 100644 --- a/src/disk_interface.cc +++ b/src/disk_interface.cc @@ -117,8 +117,6 @@ bool StatAllFilesInDir(const string& dir, map<string, TimeStamp>* stamps, return false; } do { - if (ffd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) - continue; string lowername = ffd.cFileName; transform(lowername.begin(), lowername.end(), lowername.begin(), ::tolower); stamps->insert(make_pair(lowername, |