Set exists to true if the file was found
authorMikko Rasa <tdb@tdb.fi>
Wed, 16 Oct 2013 18:13:16 +0000 (21:13 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 16 Oct 2013 18:13:16 +0000 (21:13 +0300)
source/fs/windows/stat.cpp

index f0cbdb653a743a0538f1948de4479e1a3490ea8f..229d9e9485cda8a6c8e1f31d30b4f83fae232836 100644 (file)
@@ -91,6 +91,7 @@ Stat Stat::stat(const Path &path)
        }
 
        Stat result;
+       result.exists = true;
        if(info.dwFileAttributes&FILE_ATTRIBUTE_DIRECTORY)
                result.type = DIRECTORY;
        else