Code calls xfree() instead of free().
[idzebra-moved-to-github.git] / index / zinfo.c
index f2ae6c8..17a20e4 100644 (file)
@@ -1,10 +1,19 @@
 /*
- * Copyright (C) 1994-1996, Index Data I/S 
+ * Copyright (C) 1994-1997, Index Data I/S 
  * All rights reserved.
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: zinfo.c,v $
- * Revision 1.3  1996-05-22 08:21:59  adam
+ * Revision 1.5  1997-10-27 14:33:05  adam
+ * Moved towards generic character mapping depending on "structure"
+ * field in abstract syntax file. Fixed a few memory leaks. Fixed
+ * bug with negative integers when doing searches with relational
+ * operators.
+ *
+ * Revision 1.4  1997/09/25 14:57:08  adam
+ * Added string.h.
+ *
+ * Revision 1.3  1996/05/22 08:21:59  adam
  * Added public ZebDatabaseInfo structure.
  *
  * Revision 1.2  1996/05/14 06:16:41  adam
@@ -17,6 +26,7 @@
 
 #include <stdlib.h>
 #include <assert.h>
+#include <string.h>
 
 #include "zinfo.h"
 
@@ -298,3 +308,4 @@ void zebTargetInfo_setDB (ZebTargetInfo *zti, ZebDatabaseInfo *zdi)
     zti->curDatabaseInfo->dirty = 1;
     memcpy (&zti->curDatabaseInfo->info, zdi, sizeof(*zdi));
 }
+