-/* $Id: dicttest.c,v 1.37 2006-08-14 10:40:09 adam Exp $
- Copyright (C) 1995-2006
- Index Data ApS
-
-This file is part of the Zebra server.
+/* This file is part of the Zebra server.
+ Copyright (C) Index Data
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
int no_of_new = 0, no_of_same = 0, no_of_change = 0;
int no_of_hits = 0, no_of_misses = 0, no_not_found = 0, no_of_deleted = 0;
int max_pos;
-
+
prog = argv[0];
if (argc < 2)
{
yaz_log (YLOG_FATAL|YLOG_ERRNO, "cannot open %s", inputfile);
exit (1);
}
-
+
while (fgets (ipf_buf, 1023, ipf))
{
char *ipf_ptr = ipf_buf;
}
if (rw)
{
- yaz_log (YLOG_LOG, "Iterations.... %d", no_of_iterations);
+ yaz_log (YLOG_LOG, "Iterations.... %d", no_of_iterations);
if (do_delete)
{
yaz_log (YLOG_LOG, "No of deleted. %d", no_of_deleted);
if (scan_the_thing)
{
char term_dict[1024];
-
+
int before = 1000000;
int after = 1000000;
yaz_log (YLOG_LOG, "dict_scan");
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab