aboutsummaryrefslogtreecommitdiffstats
path: root/libibex/dumpindex.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-08-16 00:59:27 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-08-16 00:59:27 +0800
commit5a6a6fcc06b9db9ef2c0f09db64aa32dff47cbd9 (patch)
treecb6d138975899164d79841954bb3cb29a8aa0a43 /libibex/dumpindex.c
parentc551f36c151201753ca928f15eaaddde5e7bbb1d (diff)
downloadgsoc2013-evolution-5a6a6fcc06b9db9ef2c0f09db64aa32dff47cbd9.tar.gz
gsoc2013-evolution-5a6a6fcc06b9db9ef2c0f09db64aa32dff47cbd9.tar.zst
gsoc2013-evolution-5a6a6fcc06b9db9ef2c0f09db64aa32dff47cbd9.zip
Force open of internal data before using it.
2001-08-16 Not Zed <NotZed@Ximian.com> * dumpindex.c (main): Force open of internal data before using it. svn path=/trunk/; revision=12056
Diffstat (limited to 'libibex/dumpindex.c')
-rw-r--r--libibex/dumpindex.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libibex/dumpindex.c b/libibex/dumpindex.c
index 410a7083d6..5f8cacd603 100644
--- a/libibex/dumpindex.c
+++ b/libibex/dumpindex.c
@@ -51,6 +51,9 @@ int main(int argc, char **argv)
return 1;
}
+ /* force real-open of the ibex internals */
+ ibex_contains_name(ib, "dummy");
+
ibex_hash_dump(ib->words->wordindex);
ibex_hash_dump(ib->words->nameindex);