diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2018-01-23 18:14:04 +0200 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2018-01-23 18:14:04 +0200 |
commit | 7379605d650cde2071c279d981b03e99dc281907 (patch) | |
tree | c4c596b81807130618fa66c9fa891773e1d39480 /indra/llvfs | |
parent | 63b36c6f69f8b73528894900005bf9d5314a8c48 (diff) |
MAINT-8047 [Mac] Incorrect VFS (cache) creation time is shown in "help>about SL"
Diffstat (limited to 'indra/llvfs')
-rw-r--r-- | indra/llvfs/llvfs.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llvfs/llvfs.cpp b/indra/llvfs/llvfs.cpp index db0eac7031..d5bd1834c2 100644 --- a/indra/llvfs/llvfs.cpp +++ b/indra/llvfs/llvfs.cpp @@ -2120,7 +2120,11 @@ time_t LLVFS::creationTime() int errors = LLFile::stat(mDataFilename, &data_file_stat); if (0 == errors) { - return data_file_stat.st_ctime; + time_t creation_time = data_file_stat.st_ctime; +#if LL_DARWIN + creation_time = data_file_stat.st_birthtime; +#endif + return creation_time; } return 0; } |