bareos: master 3a9f32d3

Author Committer Branch Timestamp Parent
Sebastian Sura Philipp Storz master 2023-06-12 07:46 master 42a74049 Pending
Changeset compat: change timestamps gathered by stat() calls

Before we used the following schema:

if (use_fallback)
  st_ctime = CreationTime
else
  st_ctime = max(CreationTime, ChangeTime)

We now use this instead to bring it more inline with how its done on
unix-like systems:

if (use_fallback)
  st_ctime = LastWriteTime
else
  st_ctime = ChangeTime
mod - core/src/win32/compat/compat.cc Diff File