diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/file.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/common/file.cpp b/common/file.cpp index 183d50ed25..cdf8d5e13e 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -440,14 +440,14 @@ bool File::remove(const FilesystemNode &node){ } bool File::exists(const String &filename) { - // First try to find the file it via a FilesystemNode (in case an absolute + // First try to find the file via a FilesystemNode (in case an absolute // path was passed). But we only use this to filter out directories. FilesystemNode file(filename); - // FIXME: since (as stated in the comment above) FilesystemNode creation - // just works for absolute paths, and we use this to tell if a file - // exists in any of the setup paths so we ca not use: - //return (!file.isDirectory() && file.exists()); + // FIXME: Since (as stated in the comment above) the FilesystemNode + // creation just works for absolute paths and we use this to tell if + // a file exists in any of the setup paths, we cannot use + // return (!file.isDirectory() && file.exists()); // // I.e.: // FilesystemNode("foofile"); would fail for most (even all?) |