X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=dict%2Fdcompact.c;h=70a167be32a745a150050497a84710e30a32ff43;hb=49f1c8c877affdeb9e9221047c48beed3f475afb;hp=3f8999aa11586a25a29c752abbb05f40c22e72cc;hpb=ef696645cc3b7e0f4027008d1dc589c0f0f90c1f;p=idzebra-moved-to-github.git diff --git a/dict/dcompact.c b/dict/dcompact.c index 3f8999a..70a167b 100644 --- a/dict/dcompact.c +++ b/dict/dcompact.c @@ -4,7 +4,13 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: dcompact.c,v $ - * Revision 1.5 1999-05-26 07:49:12 adam + * Revision 1.7 1999-11-30 13:48:03 adam + * Improved installation. Updated for inclusion of YAZ header files. + * + * Revision 1.6 1999/09/07 08:13:08 adam + * Removed log messages. + * + * Revision 1.5 1999/05/26 07:49:12 adam * C++ compilation. * * Revision 1.4 1999/05/15 14:36:37 adam @@ -26,7 +32,7 @@ #include #include -#include +#include #include static void dict_copy_page(Dict dict, char *to_p, char *from_p, int *map) @@ -117,8 +123,10 @@ int dict_copy_compact (BFiles bfs, const char *from_name, const char *to_name) map[i+1] = map[i] + size; no_dir += DICT_nodir(buf); } +#if 0 logf (LOG_LOG, "map[%d] = %d", i, map[i]); logf (LOG_LOG, "nodir = %d", no_dir); +#endif dict_to->head.root = map[1]; dict_to->head.last = map[i]; for (i = 1; i< (int) (dict_from->head.last); i++)