From 5eccbb9e2b3f5c70975b7e64ccdc0689e7cf4d5d Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sat, 4 Oct 2008 04:11:30 +0000 Subject: It wasn't creating it's cache files because of the changes to the File class. It now works correctly. --- src/build.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/build.cpp') diff --git a/src/build.cpp b/src/build.cpp index e3ead80..dd6db1e 100644 --- a/src/build.cpp +++ b/src/build.cpp @@ -21,7 +21,8 @@ Build::~Build() { try { - Bu::File f( sCacheName.c_str(), Bu::File::Write ); + Bu::File f( sCacheName.c_str(), + Bu::File::Write|Bu::File::Create|Bu::File::Truncate ); Bu::Archive ar( f, Bu::Archive::save ); ar << cRequires; -- cgit v1.2.3