]> git.tdb.fi Git - builder.git/blobdiff - source/dependencycache.cpp
Bump version number to 0.9
[builder.git] / source / dependencycache.cpp
index 0d82d7027baffc66aba49611cfd026c554a7544c..3afbf009c6a4cf42d203d68d75274ba918dce945 100644 (file)
@@ -6,7 +6,7 @@ Distributed under the LGPL
 */
 
 #include <fstream>
-#include <msp/path/utils.h>
+#include <msp/fs/stat.h>
 #include <msp/strings/utils.h>
 #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);
 }