X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=dict%2Fdicttest.c;h=dbe0aeb23bcc632973fc6f665c5092e2dd35828b;hb=1cc0116831e49bf70538639a8fc9b08b9524c683;hp=a21bb268e65818a39f3bc621c9584cc55639bed4;hpb=896c0427df9d8eff5de6a1735dcd992e067df844;p=idzebra-moved-to-github.git diff --git a/dict/dicttest.c b/dict/dicttest.c index a21bb26..dbe0aeb 100644 --- a/dict/dicttest.c +++ b/dict/dicttest.c @@ -1,4 +1,4 @@ -/* $Id: dicttest.c,v 1.27 2002-08-02 19:26:55 adam Exp $ +/* $Id: dicttest.c,v 1.29 2004-09-09 09:07:12 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -160,7 +160,7 @@ int main (int argc, char **argv) logf (LOG_FATAL, "no config and/or dictionary specified"); exit (1); } - my_resource = res_open (config, 0); + my_resource = res_open (config, 0, 0); if (!my_resource) { logf (LOG_FATAL, "cannot open resource `%s'", config); @@ -172,7 +172,7 @@ int main (int argc, char **argv) logf (LOG_FATAL, "bfs_create fail"); exit (1); } - dict = dict_open (bfs, name, cache, rw, 0); + dict = dict_open (bfs, name, cache, rw, 0, 4096); if (!dict) { logf (LOG_FATAL, "dict_open fail of `%s'", name);