Minor changes - removed include of ctype.h.
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 4 Jun 1996 10:18:58 +0000 (10:18 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 4 Jun 1996 10:18:58 +0000 (10:18 +0000)
index/dir.c
index/dirs.c
index/invstat.c
index/kcompare.c
index/kdump.c
index/kinput.c
index/recindex.c
index/recstat.c
index/trav.c
index/zserver.c
index/zserver.h

index 0d07384..6b653bb 100644 (file)
@@ -1,10 +1,13 @@
 /*
- * Copyright (C) 1994-1995, Index Data I/S 
+ * Copyright (C) 1994-1996, Index Data I/S 
  * All rights reserved.
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: dir.c,v $
- * Revision 1.14  1996-04-09 06:49:18  adam
+ * Revision 1.15  1996-06-04 10:18:58  adam
+ * Minor changes - removed include of ctype.h.
+ *
+ * Revision 1.14  1996/04/09  06:49:18  adam
  * Traversal of directories doesn't follow symbolic links.
  *
  * Revision 1.13  1996/03/21 14:50:08  adam
@@ -58,7 +61,6 @@
 #include <sys/types.h>
 #include <errno.h>
 #include <fcntl.h>
-#include <ctype.h>
 
 #include <alexutil.h>
 #include "index.h"
index 2594b48..27e96b9 100644 (file)
@@ -1,10 +1,13 @@
 /*
- * Copyright (C) 1994-1995, Index Data I/S 
+ * Copyright (C) 1994-1996, Index Data I/S 
  * All rights reserved.
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: dirs.c,v $
- * Revision 1.9  1996-04-23 12:39:07  adam
+ * Revision 1.10  1996-06-04 10:18:58  adam
+ * Minor changes - removed include of ctype.h.
+ *
+ * Revision 1.9  1996/04/23  12:39:07  adam
  * Bug fix: In function dirs_del dict_delete is used to remove a file
  * rather than a bogus dict_insert.
  *
@@ -38,7 +41,6 @@
 #include <assert.h>
 #include <errno.h>
 #include <fcntl.h>
-#include <ctype.h>
 
 #include <alexutil.h>
 #include "index.h"
index 5895ff3..75ff272 100644 (file)
@@ -4,7 +4,10 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: invstat.c,v $
- * Revision 1.2  1996-05-22 08:25:56  adam
+ * Revision 1.3  1996-06-04 10:18:58  adam
+ * Minor changes - removed include of ctype.h.
+ *
+ * Revision 1.2  1996/05/22  08:25:56  adam
  * Minor change.
  *
  * Revision 1.1  1996/05/14 14:04:34  adam
@@ -15,7 +18,6 @@
 #include <stdio.h>
 #include <assert.h>
 #include <string.h>
-#include <ctype.h>
 
 #include "index.h"
 #include "recindex.h"
index 3ca6daa..f38f948 100644 (file)
@@ -1,10 +1,13 @@
 /*
- * Copyright (C) 1994-1995, Index Data I/S 
+ * Copyright (C) 1994-1996, Index Data I/S 
  * All rights reserved.
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: kcompare.c,v $
- * Revision 1.16  1996-05-13 14:23:05  adam
+ * Revision 1.17  1996-06-04 10:18:58  adam
+ * Minor changes - removed include of ctype.h.
+ *
+ * Revision 1.16  1996/05/13  14:23:05  adam
  * Work on compaction of set/use bytes in dictionary.
  *
  * Revision 1.15  1995/11/20  16:59:46  adam
@@ -64,7 +67,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
-#include <ctype.h>
 #include <assert.h>
 
 #include "index.h"
@@ -124,21 +126,3 @@ int key_qsort_compare (const void *p1, const void *p2)
     return cp1[l] - cp2[l];
 }
 
-int index_char_cvt (int c)
-{
-    return tolower (c);
-}
-
-#if 1
-int index_word_prefix (char *string, int attset_ordinal,
-                       int local_attribute,
-                       const char *databaseName)
-{
-    int i;
-    sprintf (string, "%s@%c%04d", databaseName,
-             attset_ordinal + '0', local_attribute);
-    for (i = 0; string[i]; i++)
-        string[i] = index_char_cvt (string[i]);
-    return i;
-}
-#endif
index 93344e6..bef8c27 100644 (file)
@@ -1,10 +1,13 @@
 /*
- * Copyright (C) 1994-1995, Index Data I/S 
+ * Copyright (C) 1994-1996, Index Data I/S 
  * All rights reserved.
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: kdump.c,v $
- * Revision 1.7  1995-10-10 12:24:38  adam
+ * Revision 1.8  1996-06-04 10:18:59  adam
+ * Minor changes - removed include of ctype.h.
+ *
+ * Revision 1.7  1995/10/10  12:24:38  adam
  * Temporary sort files are compressed.
  *
  * Revision 1.6  1995/09/29  14:01:42  adam
index 92833bb..eef3ab5 100644 (file)
@@ -4,7 +4,10 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: kinput.c,v $
- * Revision 1.17  1996-05-14 15:47:07  adam
+ * Revision 1.18  1996-06-04 10:18:59  adam
+ * Minor changes - removed include of ctype.h.
+ *
+ * Revision 1.17  1996/05/14  15:47:07  adam
  * Cleanup of various buffer size entities.
  *
  * Revision 1.16  1996/04/09  10:05:20  adam
@@ -69,7 +72,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
-#include <ctype.h>
 #include <assert.h>
 
 #include "index.h"
index 936f6e0..3e562f4 100644 (file)
@@ -1,10 +1,13 @@
 /*
- * Copyright (C) 1994-1995, Index Data I/S 
+ * Copyright (C) 1994-1996, Index Data I/S 
  * All rights reserved.
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: recindex.c,v $
- * Revision 1.15  1996-05-13 14:23:06  adam
+ * Revision 1.16  1996-06-04 10:19:00  adam
+ * Minor changes - removed include of ctype.h.
+ *
+ * Revision 1.15  1996/05/13  14:23:06  adam
  * Work on compaction of set/use bytes in dictionary.
  *
  * Revision 1.14  1996/02/01  20:48:15  adam
@@ -70,7 +73,6 @@
 #include <stdio.h>
 #include <assert.h>
 #include <string.h>
-#include <ctype.h>
 
 #include "recindxp.h"
 
index c27ce8f..c5cd78d 100644 (file)
@@ -4,7 +4,10 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: recstat.c,v $
- * Revision 1.2  1996-05-14 14:04:34  adam
+ * Revision 1.3  1996-06-04 10:19:00  adam
+ * Minor changes - removed include of ctype.h.
+ *
+ * Revision 1.2  1996/05/14  14:04:34  adam
  * In zebraidx, the 'stat' command is improved. Statistics about ISAM/DICT
  * is collected.
  *
@@ -18,7 +21,6 @@
 #include <stdio.h>
 #include <assert.h>
 #include <string.h>
-#include <ctype.h>
 #include <fcntl.h>
 #include <unistd.h>
 
index 9658662..9f23a6a 100644 (file)
@@ -1,10 +1,13 @@
 /*
- * Copyright (C) 1994-1995, Index Data I/S 
+ * Copyright (C) 1994-1996, Index Data I/S 
  * All rights reserved.
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: trav.c,v $
- * Revision 1.25  1996-05-01 13:46:37  adam
+ * Revision 1.26  1996-06-04 10:19:01  adam
+ * Minor changes - removed include of ctype.h.
+ *
+ * Revision 1.25  1996/05/01  13:46:37  adam
  * First work on multiple records in one file.
  * New option, -offset, to the "unread" command in the filter module.
  *
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <fcntl.h>
-#include <ctype.h>
 #include <time.h>
 
 #include <alexutil.h>
index 90dadf9..faae520 100644 (file)
@@ -1,10 +1,13 @@
 /*
- * Copyright (C) 1994-1996, Index Data I/S 
+ * Copyright (C) 1995-1996, Index Data I/S 
  * All rights reserved.
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: zserver.c,v $
- * Revision 1.39  1996-05-31 09:07:05  quinn
+ * Revision 1.40  1996-06-04 10:19:02  adam
+ * Minor changes - removed include of ctype.h.
+ *
+ * Revision 1.39  1996/05/31  09:07:05  quinn
  * Work on character-set handling
  *
  * Revision 1.38  1996/05/14  11:34:01  adam
@@ -199,6 +202,7 @@ static int register_lock (ZServerInfo *zi)
                                   sizeof (struct it_key))))
         return -1;
     zi->zti = zebTargetInfo_open (zi->records, 0);
+    init_charmap ();
     return 0;
 }
 
index f740257..e6636c7 100644 (file)
@@ -1,10 +1,13 @@
 /*
- * Copyright (C) 1994-1995, Index Data I/S 
+ * Copyright (C) 1994-1996, Index Data I/S 
  * All rights reserved.
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: zserver.h,v $
- * Revision 1.19  1996-05-14 11:34:01  adam
+ * Revision 1.20  1996-06-04 10:19:02  adam
+ * Minor changes - removed include of ctype.h.
+ *
+ * Revision 1.19  1996/05/14  11:34:01  adam
  * Scan support in multiple registers/databases.
  *
  * Revision 1.18  1996/05/14  06:16:50  adam