diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-09-03 20:36:43 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-09-03 20:36:43 +0000 |
commit | f59c1c8e56b61abefab076d44bfb8a04bd51ac33 (patch) | |
tree | 59fc98c4f4c3aea60c81140a4bb5c4a6797e60f7 | |
parent | 611f1c821f9d882f935ac62b0c566d4988f26d1c (diff) | |
download | libbu++-f59c1c8e56b61abefab076d44bfb8a04bd51ac33.tar.gz libbu++-f59c1c8e56b61abefab076d44bfb8a04bd51ac33.tar.bz2 libbu++-f59c1c8e56b61abefab076d44bfb8a04bd51ac33.tar.xz libbu++-f59c1c8e56b61abefab076d44bfb8a04bd51ac33.zip |
Looks like the bug I was seeing in myriad wasn't in myriad. It was in the
Bu::CacheStoreMyriad system, it had some minor issues dealing with the index
blocks. Should be fixed up now.
Diffstat (limited to '')
-rw-r--r-- | src/cachestoremyriad.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cachestoremyriad.h b/src/cachestoremyriad.h index 928eb46..b90793d 100644 --- a/src/cachestoremyriad.h +++ b/src/cachestoremyriad.h | |||
@@ -106,6 +106,8 @@ namespace Bu | |||
106 | MyriadStream ns = mStore.openStream( 1 ); | 106 | MyriadStream ns = mStore.openStream( 1 ); |
107 | Bu::Archive ar( ns, Bu::Archive::save ); | 107 | Bu::Archive ar( ns, Bu::Archive::save ); |
108 | ar << hId; | 108 | ar << hId; |
109 | ns.setSize( ns.tell() ); | ||
110 | mStore.sync(); | ||
109 | } | 111 | } |
110 | 112 | ||
111 | virtual void sync( obtype *pSrc, const keytype &key ) | 113 | virtual void sync( obtype *pSrc, const keytype &key ) |