From 7379605d650cde2071c279d981b03e99dc281907 Mon Sep 17 00:00:00 2001 From: maxim_productengine Date: Tue, 23 Jan 2018 18:14:04 +0200 Subject: MAINT-8047 [Mac] Incorrect VFS (cache) creation time is shown in "help>about SL" --- indra/llvfs/llvfs.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'indra/llvfs') 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; } -- cgit v1.2.3