Browse Source

policy_newest.cpp

getattr
Antonio SJ Musumeci 1 month ago
parent
commit
c8a1596fa2
  1. 3
      src/policy_newest.cpp

3
src/policy_newest.cpp

@ -125,10 +125,11 @@ namespace newest
const char *fusepath_, const char *fusepath_,
StrVec *paths_) StrVec *paths_)
{ {
timespec ts{0,0};
time_t newest; 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