/* This file is part of the Zebra server.
- Copyright (C) 1994-2009 Index Data
+ 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 <assert.h>
#include <stdlib.h>
#include <string.h>
int i, slen, no = 0;
short *from_indxp, *to_indxp;
char *from_info, *to_info;
-
+
from_indxp = (short*) ((char*) from_p+DICT_bsize(from_p));
to_indxp = (short*) ((char*) to_p+DICT_bsize(to_p));
to_info = (char*) to_p + DICT_infoffset;
from_info += sizeof(Dict_ptr);
memcpy(&subchar, from_info, sizeof(subchar));
from_info += sizeof(Dict_char);
-
+
memcpy(to_info, &subptr, sizeof(Dict_ptr));
to_info += sizeof(Dict_ptr);
memcpy(to_info, &subchar, sizeof(Dict_char));
return -1;
map[0] = 0;
map[1] = dict_from->head.page_size;
-
+
for (i = 1; i < (int) (dict_from->head.last); i++)
{
void *buf;