From: Adam Dickmeiss Date: Tue, 4 Jun 1996 10:18:58 +0000 (+0000) Subject: Minor changes - removed include of ctype.h. X-Git-Tag: ZEBRA.1.0~433 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=f4c557cfebb4fa779a858c7d305081d4d92578da Minor changes - removed include of ctype.h. --- diff --git a/index/dir.c b/index/dir.c index 0d07384..6b653bb 100644 --- a/index/dir.c +++ b/index/dir.c @@ -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 #include #include -#include #include #include "index.h" diff --git a/index/dirs.c b/index/dirs.c index 2594b48..27e96b9 100644 --- a/index/dirs.c +++ b/index/dirs.c @@ -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 #include #include -#include #include #include "index.h" diff --git a/index/invstat.c b/index/invstat.c index 5895ff3..75ff272 100644 --- a/index/invstat.c +++ b/index/invstat.c @@ -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 #include #include -#include #include "index.h" #include "recindex.h" diff --git a/index/kcompare.c b/index/kcompare.c index 3ca6daa..f38f948 100644 --- a/index/kcompare.c +++ b/index/kcompare.c @@ -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 #include #include -#include #include #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 diff --git a/index/kdump.c b/index/kdump.c index 93344e6..bef8c27 100644 --- a/index/kdump.c +++ b/index/kdump.c @@ -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 diff --git a/index/kinput.c b/index/kinput.c index 92833bb..eef3ab5 100644 --- a/index/kinput.c +++ b/index/kinput.c @@ -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 #include #include -#include #include #include "index.h" diff --git a/index/recindex.c b/index/recindex.c index 936f6e0..3e562f4 100644 --- a/index/recindex.c +++ b/index/recindex.c @@ -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 #include #include -#include #include "recindxp.h" diff --git a/index/recstat.c b/index/recstat.c index c27ce8f..c5cd78d 100644 --- a/index/recstat.c +++ b/index/recstat.c @@ -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 #include #include -#include #include #include diff --git a/index/trav.c b/index/trav.c index 9658662..9f23a6a 100644 --- a/index/trav.c +++ b/index/trav.c @@ -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. * @@ -102,7 +105,6 @@ #include #include #include -#include #include #include diff --git a/index/zserver.c b/index/zserver.c index 90dadf9..faae520 100644 --- a/index/zserver.c +++ b/index/zserver.c @@ -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; } diff --git a/index/zserver.h b/index/zserver.h index f740257..e6636c7 100644 --- a/index/zserver.h +++ b/index/zserver.h @@ -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