[*] Linux stat regression?
This commit is contained in:
parent
4db0d3c6af
commit
79371fc82f
@ -419,9 +419,9 @@ namespace Aurora::IO::FS
|
||||
|
||||
|
||||
#if defined(AURORA_IS_LINUX_DERIVED)
|
||||
stat.createdNs = AuTime::CTimeNSNormalize(s.st_ctim.tv_nsec);
|
||||
stat.modifiedNs = AuTime::CTimeNSNormalize(s.st_mtim.tv_nsec);
|
||||
stat.accessedNs = AuTime::CTimeNSNormalize(s.st_atim.tv_nsec);
|
||||
stat.createdNs = AuUInt64(s.st_ctim.tv_nsec) + AuMSToNS<AuUInt64>(Time::CTimeToMS(s.st_ctim.tv_sec));
|
||||
stat.modifiedNs = AuUInt64(s.st_mtim.tv_nsec) + AuMSToNS<AuUInt64>(Time::CTimeToMS(s.st_mtim.tv_sec));
|
||||
stat.accessedNs = AuUInt64(s.st_atim.tv_nsec) + AuMSToNS<AuUInt64>(Time::CTimeToMS(s.st_atim.tv_sec));
|
||||
#else
|
||||
stat.createdNs = AuMSToNS<AuUInt64>(Time::CTimeToMS(s.st_ctime));
|
||||
stat.modifiedNs = AuMSToNS<AuUInt64>(Time::CTimeToMS(s.st_mtime));
|
||||
|
Loading…
Reference in New Issue
Block a user