Browse Source

policy_newest.cpp

getattr
Antonio SJ Musumeci 5 months ago
parent
commit
9cf02492c3
  1. 4
      src/policy_newest.cpp

4
src/policy_newest.cpp

@ -125,10 +125,10 @@ namespace newest
const char *fusepath_, const char *fusepath_,
StrVec *paths_) StrVec *paths_)
{ {
timespec ts{0,0};
time_t newest;
struct stat st; struct stat st;
const string *basepath; const string *basepath;
newest = std::numeric_limits<time_t>::min(); newest = std::numeric_limits<time_t>::min();
basepath = NULL; basepath = NULL;
for(auto &branch : *branches_) for(auto &branch : *branches_)

Loading…
Cancel
Save