MAINT-8047 [Mac] Incorrect VFS (cache) creation time is shown in "help>about SL"
parent
63b36c6f69
commit
7379605d65
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue