X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdependencycache.cpp;h=3afbf009c6a4cf42d203d68d75274ba918dce945;hb=f52ca29f2357618da9e87a08bfd61f8a0058a8e1;hp=0d82d7027baffc66aba49611cfd026c554a7544c;hpb=654de39b62a9a58fd8e1b5a557361d628345788b;p=builder.git diff --git a/source/dependencycache.cpp b/source/dependencycache.cpp index 0d82d70..3afbf00 100644 --- a/source/dependencycache.cpp +++ b/source/dependencycache.cpp @@ -6,7 +6,7 @@ Distributed under the LGPL */ #include -#include +#include #include #include "builder.h" #include "dependencycache.h" @@ -73,7 +73,5 @@ void DependencyCache::load() deps[parts[0]]=StringList(parts.begin()+1, parts.end()); } - struct stat st; - Path::stat(fn, st); - mtime=Time::TimeStamp::from_unixtime(st.st_mtime); + mtime=Time::TimeStamp::from_unixtime(FS::stat(fn).st_mtime); }