/*
- * 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
#include <sys/types.h>
#include <errno.h>
#include <fcntl.h>
-#include <ctype.h>
#include <alexutil.h>
#include "index.h"
/*
- * 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.
*
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
-#include <ctype.h>
#include <alexutil.h>
#include "index.h"
* 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
#include <stdio.h>
#include <assert.h>
#include <string.h>
-#include <ctype.h>
#include "index.h"
#include "recindex.h"
/*
- * 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
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
-#include <ctype.h>
#include <assert.h>
#include "index.h"
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
/*
- * 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
* 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
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
-#include <ctype.h>
#include <assert.h>
#include "index.h"
/*
- * 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
#include <stdio.h>
#include <assert.h>
#include <string.h>
-#include <ctype.h>
#include "recindxp.h"
* 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.
*
#include <stdio.h>
#include <assert.h>
#include <string.h>
-#include <ctype.h>
#include <fcntl.h>
#include <unistd.h>
/*
- * 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>
/*
- * 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
sizeof (struct it_key))))
return -1;
zi->zti = zebTargetInfo_open (zi->records, 0);
+ init_charmap ();
return 0;
}
/*
- * 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