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
Save ord(inal) indexes IDs so we can make snippets properly.
[idzebra-moved-to-github.git]
/
dict
/
insert.c
diff --git
a/dict/insert.c
b/dict/insert.c
index
955a2cd
..
1b295d6
100644
(file)
--- a/
dict/insert.c
+++ b/
dict/insert.c
@@
-1,6
+1,6
@@
-/* $Id: insert.c,v 1.22 2002-08-02 19:26:55 adam Exp $
- Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
- Index Data Aps
+/* $Id: insert.c,v 1.25 2005-01-15 19:38:21 adam Exp $
+ Copyright (C) 1995-2005
+ Index Data ApS
This file is part of the Zebra server.
This file is part of the Zebra server.
@@
-27,7
+27,7
@@
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include <stdio.h>
#include <assert.h>
#include <stdio.h>
#include <assert.h>
-#include <dict.h>
+#include "dict-p.h"
#define CHECK 0
#define CHECK 0
@@
-343,7
+343,7
@@
static int dict_ins (Dict dict, const Dict_char *str,
}
if (split_page (dict, ptr, p))
{
}
if (split_page (dict, ptr, p))
{
- logf (LOG_FATAL, "Unable to split page %d\n", ptr);
+ yaz_log (YLOG_FATAL, "Unable to split page %d\n", ptr);
abort ();
}
return dict_ins (dict, str-1, ptr, userlen, userinfo);
abort ();
}
return dict_ins (dict, str-1, ptr, userlen, userinfo);