X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fmain.c;h=0c9cad865d277760774e01b9246c98fadb8065c7;hb=78e20a4e6a704e81bddb2ac37caf83f5a670041d;hp=f4c52ad385b73ffafebb992e0b1e45e16273ddf7;hpb=9252c3f4231f9f3226326ce1360f055bad48b8d1;p=idzebra-moved-to-github.git diff --git a/index/main.c b/index/main.c index f4c52ad..0c9cad8 100644 --- a/index/main.c +++ b/index/main.c @@ -4,7 +4,17 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: main.c,v $ - * Revision 1.63 1999-03-09 16:27:49 adam + * Revision 1.66 1999-06-25 13:48:02 adam + * Updated MSVC project files. + * Added BZIP2 record compression (not very well tested). + * + * Revision 1.65 1999/05/20 12:57:18 adam + * Implemented TCL filter. Updated recctrl system. + * + * Revision 1.64 1999/05/15 14:36:38 adam + * Updated dictionary. Implemented "compression" of dictionary. + * + * Revision 1.63 1999/03/09 16:27:49 adam * More work on SDRKit integration. * * Revision 1.62 1999/02/18 15:01:24 adam @@ -422,7 +432,6 @@ int main (int argc, char **argv) } else if (!strcmp (arg, "compact")) { - printf ("--------- compact ------\n"); rval = res_get (common_resource, "shadow"); zebraIndexLock (rGroupDef.bfs, 0, rval); if (rval && *rval) @@ -512,13 +521,12 @@ int main (int argc, char **argv) } else if (ret == 'V') { - fprintf (stderr, "Zebra %s %s\n", -#if ZEBRASDR - "SDR", -#else - ZEBRAVER, + fprintf (stderr, "Zebra %s %s\n", ZEBRAVER, ZEBRADATE); + fprintf (stderr, " (C) 1994-1999, Index Data ApS\n"); +#if HAVE_BZLIB_H + fprintf (stderr, "libbzip2\n" + " (C) 1996-1998 Julian R Seward. All rights reserved.\n"); #endif - ZEBRADATE); } else if (ret == 'v') log_init_level (log_mask_str(arg)); @@ -547,6 +555,7 @@ int main (int argc, char **argv) else logf (LOG_WARN, "unknown option '-%s'", arg); } + recTypes_destroy (rGroupDef.recTypes); if (common_resource) { zebraIndexUnlock ();