/*
- * Copyright (C) 1995, Index Data I/S
+ * Copyright (C) 1994-1995, Index Data I/S
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: kinput.c,v $
- * Revision 1.2 1995-09-04 12:33:42 adam
+ * Revision 1.4 1995-09-28 14:22:57 adam
+ * Sort uses smaller temporary files.
+ *
+ * Revision 1.3 1995/09/06 16:11:17 adam
+ * Option: only one word key per file.
+ *
+ * Revision 1.2 1995/09/04 12:33:42 adam
* Various cleanup. YAZ util used instead.
*
* Revision 1.1 1995/09/04 09:10:37 adam
{
if (!read_one (inf, next_name, next_key))
break;
- if (strcmp (next_name, cur_name))
+ if (*next_name && strcmp (next_name, cur_name))
break;
memcpy (key_buf + key_buf_ptr, next_key, KEY_SIZE);
key_buf_ptr += KEY_SIZE;
logf (LOG_FATAL, "dict_open fail of `%s'", dict_fname);
exit (1);
}
- isam = is_open (isam_fname, key_compare, 1);
+ isam = is_open (isam_fname, key_compare, 1, sizeof(struct it_key));
if (!isam)
{
logf (LOG_FATAL, "is_open fail of `%s'", isam_fname);