diff options
Diffstat (limited to 'libibex')
-rw-r--r-- | libibex/ChangeLog | 2 | ||||
-rw-r--r-- | libibex/dumpindex.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libibex/ChangeLog b/libibex/ChangeLog index a47320019f..16677bbca4 100644 --- a/libibex/ChangeLog +++ b/libibex/ChangeLog @@ -1,5 +1,7 @@ 2001-08-16 Not Zed <NotZed@Ximian.com> + * dumpindex.c (main): Force open of internal data before using it. + * ibex_block.c (ibex_use): Use a next pointer so we keep the list intact as we scan it. 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); |