X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdependencycache.cpp;h=85ed4fd656b20a74746e0513d7dd11e13c2ad365;hb=4d0d003b022943d8a0e39ba19078bab8d32d8857;hp=0d82d7027baffc66aba49611cfd026c554a7544c;hpb=0ac8d6708b8c758fb89d97a0049d4a329990b83b;p=builder.git diff --git a/source/dependencycache.cpp b/source/dependencycache.cpp index 0d82d70..85ed4fd 100644 --- a/source/dependencycache.cpp +++ b/source/dependencycache.cpp @@ -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(stat(fn).st_mtime); }