X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=dict%2Fdicttest.c;h=da56a757d3c12e1f1e647366a61787b4fa692181;hb=a20e59c5087fb92c419f2330c786367f9ce8ccd2;hp=57f1119d7c40eb23818cb0db57de8aaa4a21a214;hpb=3b7b0e72cc359c7df837fe7ff1252f2efecd41c7;p=idzebra-moved-to-github.git diff --git a/dict/dicttest.c b/dict/dicttest.c index 57f1119..da56a75 100644 --- a/dict/dicttest.c +++ b/dict/dicttest.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: dicttest.c,v $ - * Revision 1.25 2000-12-05 09:59:10 adam + * Revision 1.26 2002-04-04 14:14:13 adam + * Multiple registers (alpha early) + * + * Revision 1.25 2000/12/05 09:59:10 adam * Work on dict_delete_subtree. * * Revision 1.24 2000/09/05 14:04:05 adam @@ -228,13 +231,13 @@ int main (int argc, char **argv) logf (LOG_FATAL, "no config and/or dictionary specified"); exit (1); } - my_resource = res_open (config); + my_resource = res_open (config, 0); if (!my_resource) { logf (LOG_FATAL, "cannot open resource `%s'", config); exit (1); } - bfs = bfs_create (res_get(my_resource, "register")); + bfs = bfs_create (res_get(my_resource, "register"), 0); if (!bfs) { logf (LOG_FATAL, "bfs_create fail");