diff options
Diffstat (limited to 'indra/llfilesystem/lldir_win32.cpp')
| -rw-r--r--[-rwxr-xr-x] | indra/llfilesystem/lldir_win32.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/indra/llfilesystem/lldir_win32.cpp b/indra/llfilesystem/lldir_win32.cpp index 2b478e5dce..58c080c982 100755..100644 --- a/indra/llfilesystem/lldir_win32.cpp +++ b/indra/llfilesystem/lldir_win32.cpp @@ -376,7 +376,18 @@ std::string LLDir_Win32::getCurPath() bool LLDir_Win32::fileExists(const std::string &filename) const { - return LLFile::exists(filename); + llstat stat_data; + // Check the age of the file + // Now, we see if the files we've gathered are recent... + int res = LLFile::stat(filename, &stat_data); + if (!res) + { + return true; + } + else + { + return false; + } } |
