aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2008-10-04 04:11:30 +0000
committerMike Buland <eichlan@xagasoft.com>2008-10-04 04:11:30 +0000
commit5eccbb9e2b3f5c70975b7e64ccdc0689e7cf4d5d (patch)
treeedbe09a5dd1215ad1b077612510f3a8a67fc2ef9 /src
parent2d185fd236e2717624715bfc2654c1397a9980d4 (diff)
downloadbuild-5eccbb9e2b3f5c70975b7e64ccdc0689e7cf4d5d.tar.gz
build-5eccbb9e2b3f5c70975b7e64ccdc0689e7cf4d5d.tar.bz2
build-5eccbb9e2b3f5c70975b7e64ccdc0689e7cf4d5d.tar.xz
build-5eccbb9e2b3f5c70975b7e64ccdc0689e7cf4d5d.zip
It wasn't creating it's cache files because of the changes to the File class.
It now works correctly.
Diffstat (limited to 'src')
-rw-r--r--src/build.cpp3
1 files changed, 2 insertions, 1 deletions
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()
21 { 21 {
22 try 22 try
23 { 23 {
24 Bu::File f( sCacheName.c_str(), Bu::File::Write ); 24 Bu::File f( sCacheName.c_str(),
25 Bu::File::Write|Bu::File::Create|Bu::File::Truncate );
25 Bu::Archive ar( f, Bu::Archive::save ); 26 Bu::Archive ar( f, Bu::Archive::save );
26 27
27 ar << cRequires; 28 ar << cRequires;