projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed non-functional ZVrank algorithm for ever. Removed description in documentation.
[idzebra-moved-to-github.git]
/
index
/
kinput.c
diff --git
a/index/kinput.c
b/index/kinput.c
index
f98c0d5
..
1e9e9a5
100644
(file)
--- a/
index/kinput.c
+++ b/
index/kinput.c
@@
-1,4
+1,4
@@
-/* $Id: kinput.c,v 1.73 2006-05-09 08:12:22 adam Exp $
+/* $Id: kinput.c,v 1.75 2006-05-17 17:46:45 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
Copyright (C) 1995-2005
Index Data ApS
@@
-603,7
+603,7
@@
int heap_inpc (struct heap_cread_info *hci, struct heap_info *hi)
char *dict_info;
strcpy (this_name, hci->cur_name);
char *dict_info;
strcpy (this_name, hci->cur_name);
- assert (hci->cur_name[1]);
+ assert (hci->cur_name[0]);
hi->no_diffs++;
if ((dict_info = dict_lookup (hi->reg->dict, hci->cur_name)))
{
hi->no_diffs++;
if ((dict_info = dict_lookup (hi->reg->dict, hci->cur_name)))
{
@@
-648,7
+648,7
@@
int heap_inp0(struct heap_cread_info *hci, struct heap_info *hi)
int mode;
strcpy (this_name, hci->cur_name);
int mode;
strcpy (this_name, hci->cur_name);
- assert (hci->cur_name[1]);
+ assert (hci->cur_name[0]);
hi->no_diffs++;
while (heap_cread_item2(hci, &dst, &mode))
hi->no_diffs++;
while (heap_cread_item2(hci, &dst, &mode))
@@
-672,7
+672,7
@@
int heap_inpb(struct heap_cread_info *hci, struct heap_info *hi)
char *dict_info;
strcpy (this_name, hci->cur_name);
char *dict_info;
strcpy (this_name, hci->cur_name);
- assert (hci->cur_name[1]);
+ assert (hci->cur_name[0]);
hi->no_diffs++;
#if 0
hi->no_diffs++;
#if 0
@@
-726,7
+726,7
@@
int heap_inps (struct heap_cread_info *hci, struct heap_info *hi)
char *dict_info;
strcpy (this_name, hci->cur_name);
char *dict_info;
strcpy (this_name, hci->cur_name);
- assert (hci->cur_name[1]);
+ assert (hci->cur_name[0]);
hi->no_diffs++;
if (!(dict_info = dict_lookup (hi->reg->dict, hci->cur_name)))
{
hi->no_diffs++;
if (!(dict_info = dict_lookup (hi->reg->dict, hci->cur_name)))
{
@@
-885,3
+885,11
@@
void zebra_index_merge (ZebraHandle zh)
key_heap_destroy (hi, nkeys);
}
key_heap_destroy (hi, nkeys);
}
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+