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
This commit is contained in:
Not Zed
2001-08-15 16:59:27 +00:00
committed by Michael Zucci
parent c551f36c15
commit 5a6a6fcc06
2 changed files with 5 additions and 0 deletions

View File

@ -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.

View File

@ -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);