X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Ftrav.c;h=150fc27a9f68509d5661da83065adccbe6cfc59b;hb=75b192c1c670ec987b49f81acf860666345f719d;hp=943b4f1b3206cca2a194ae45fbc09d75cdcb416e;hpb=48d26dcea283f57c49f77b82d6a987e41d775749;p=idzebra-moved-to-github.git diff --git a/index/trav.c b/index/trav.c index 943b4f1..150fc27 100644 --- a/index/trav.c +++ b/index/trav.c @@ -1,10 +1,16 @@ /* - * Copyright (C) 1994-1998, Index Data I/S + * Copyright (C) 1994-1999, Index Data * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: trav.c,v $ - * Revision 1.34 1998-06-08 14:43:14 adam + * Revision 1.36 1999-05-15 14:36:38 adam + * Updated dictionary. Implemented "compression" of dictionary. + * + * Revision 1.35 1999/02/02 14:51:09 adam + * Updated WIN32 code specific sections. Changed header. + * + * Revision 1.34 1998/06/08 14:43:14 adam * Added suport for EXPLAIN Proxy servers - added settings databasePath * and explainDatabase to facilitate this. Increased maximum number * of databases and attributes in one register. @@ -133,7 +139,7 @@ #include #include #include -#ifdef WINDOWS +#ifdef WIN32 #include #define S_ISREG(x) (x & _S_IFREG) #define S_ISDIR(x) (x & _S_IFDIR) @@ -390,7 +396,7 @@ void repositoryShow (struct recordGroup *rGroup) Dict dict; struct dirs_info *di; - if (!(dict = dict_open (rGroup->bfs, FMATCH_DICT, 50, 0))) + if (!(dict = dict_open (rGroup->bfs, FMATCH_DICT, 50, 0, 0))) { logf (LOG_FATAL, "dict_open fail of %s", FMATCH_DICT); return; @@ -505,7 +511,8 @@ void repositoryUpdate (struct recordGroup *rGroup) if (rGroup->recordId && !strcmp (rGroup->recordId, "file")) { Dict dict; - if (!(dict = dict_open (rGroup->bfs, FMATCH_DICT, 50, rGroup->flagRw))) + if (!(dict = dict_open (rGroup->bfs, FMATCH_DICT, 50, + rGroup->flagRw, 0))) { logf (LOG_FATAL, "dict_open fail of %s", FMATCH_DICT); return ;