aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-10-12 22:04:17 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-10-12 22:04:17 +0800
commitc645a2a9e8b2f586199df99a3667be2037912114 (patch)
tree1ec8e8c39b998eb8d3459c788f31a031c6bfd484
parentc308f5eeef858ef813205af508e8ef94a8208d62 (diff)
downloadgsoc2013-evolution-c645a2a9e8b2f586199df99a3667be2037912114.tar
gsoc2013-evolution-c645a2a9e8b2f586199df99a3667be2037912114.tar.gz
gsoc2013-evolution-c645a2a9e8b2f586199df99a3667be2037912114.tar.bz2
gsoc2013-evolution-c645a2a9e8b2f586199df99a3667be2037912114.tar.lz
gsoc2013-evolution-c645a2a9e8b2f586199df99a3667be2037912114.tar.xz
gsoc2013-evolution-c645a2a9e8b2f586199df99a3667be2037912114.tar.zst
gsoc2013-evolution-c645a2a9e8b2f586199df99a3667be2037912114.zip
Bumped ibex rev.
2000-10-12 Not Zed <NotZed@HelixCode.com> * ibex_internal.h (struct ibex): Bumped ibex rev. * block.c (ibex_block_cache_open): Bumped the ibex file revision because of the hash table size change. svn path=/trunk/; revision=5887
-rw-r--r--libibex/ChangeLog5
-rw-r--r--libibex/block.c4
-rw-r--r--libibex/ibex_internal.h2
3 files changed, 8 insertions, 3 deletions
diff --git a/libibex/ChangeLog b/libibex/ChangeLog
index 5021bc12b4..ec753aa483 100644
--- a/libibex/ChangeLog
+++ b/libibex/ChangeLog
@@ -1,5 +1,10 @@
2000-10-12 Not Zed <NotZed@HelixCode.com>
+ * ibex_internal.h (struct ibex): Bumped ibex rev.
+
+ * block.c (ibex_block_cache_open): Bumped the ibex file revision
+ because of the hash table size change.
+
* index.h: Added some stat stuff.
* wordindex.c (struct _wordcache): Changed files[] to be a pointer
diff --git a/libibex/block.c b/libibex/block.c
index 6f6cd60657..8e10a116cb 100644
--- a/libibex/block.c
+++ b/libibex/block.c
@@ -408,11 +408,11 @@ ibex_block_cache_open(const char *name, int flags, int mode)
root = (struct _root *)ibex_block_read(block_cache, 0);
if (root->roof == 0
- || memcmp(root->version, "ibx3", 4)
+ || memcmp(root->version, "ibx4", 4)
|| ((root->flags & IBEX_ROOT_SYNCF) == 0)) {
(printf("Initialising superblock\n"));
/* reset root data */
- memcpy(root->version, "ibx3", 4);
+ memcpy(root->version, "ibx4", 4);
root->roof = 1024;
root->free = 0;
root->words = 0;
diff --git a/libibex/ibex_internal.h b/libibex/ibex_internal.h
index a21867a2ab..bd5d1cbea4 100644
--- a/libibex/ibex_internal.h
+++ b/libibex/ibex_internal.h
@@ -24,7 +24,7 @@
#include "block.h"
#include "wordindex.h"
-#define IBEX_VERSION "ibex3"
+#define IBEX_VERSION "ibx4"
struct ibex {
char *path;