diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/filesys.cpp | 6 | ||||
-rw-r--r-- | src/filesys.h | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/filesys.cpp b/src/filesys.cpp index 2fd90c237..287090e8a 100644 --- a/src/filesys.cpp +++ b/src/filesys.cpp @@ -157,7 +157,11 @@ bool RecursiveDelete(std::string path) int r = SHFileOperation(&sfo); - return (r == 0); + if(r != 0) + std::cerr<<"SHFileOperation returned "<<r<<std::endl; + + //return (r == 0); + return true; } #else // POSIX diff --git a/src/filesys.h b/src/filesys.h index e46b17b0d..4dd90b84e 100644 --- a/src/filesys.h +++ b/src/filesys.h @@ -41,6 +41,7 @@ bool CreateDir(std::string path); bool PathExists(std::string path); // Only pass full paths to this one. True on success. +// NOTE: The WIN32 version returns always true. bool RecursiveDelete(std::string path); // Only pass full paths to this one. True on success. |