aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/windows
diff options
context:
space:
mode:
Diffstat (limited to 'backends/fs/windows')
-rw-r--r--backends/fs/windows/windows-fs.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/fs/windows/windows-fs.cpp b/backends/fs/windows/windows-fs.cpp
index 06dbb57c05..837fed1e72 100644
--- a/backends/fs/windows/windows-fs.cpp
+++ b/backends/fs/windows/windows-fs.cpp
@@ -158,6 +158,10 @@ WindowsFilesystemNode::WindowsFilesystemNode(const String &p) {
_isValid = true;
_isDirectory = ((fileAttribs & FILE_ATTRIBUTE_DIRECTORY) != 0);
}
+ // FIXME: Is the following correct? Should we maybe check for path being
+ // empty and set it to true in this case?
+ // In any case, not setting _isPseudoRoot at all certainly is a bug.
+ _isPseudoRoot = false;
}
FSList WindowsFilesystemNode::listDir(ListMode mode) const {