# Copyright (C) 1994, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.22 1996-05-22 08:26:46 adam Exp $
+# $Id: Makefile,v 1.23 1996-10-29 14:00:00 adam Exp $
SHELL=/bin/sh
RANLIB=ranlib
alll: $(LIB) $(TPROG1) $(TPROG2)
-$(TPROG1): $(TPROG1).o $(LIB) ../lib/bfile.a ../lib/alexutil.a ../lib/dfa.a
+$(TPROG1): $(TPROG1).o $(LIB) ../lib/bfile.a ../lib/zebrautl.a ../lib/dfa.a
$(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) \
- ../lib/bfile.a ../lib/dfa.a ../lib/alexutil.a $(YAZLIB)
+ ../lib/bfile.a ../lib/dfa.a ../lib/zebrautl.a $(YAZLIB)
-$(TPROG2): $(TPROG2).o $(LIB) ../lib/alexutil.a
- $(CC) $(CFLAGS) -o $(TPROG2) $(TPROG2).o ../lib/alexutil.a $(YAZLIB)
+$(TPROG2): $(TPROG2).o $(LIB) ../lib/zebrautl.a
+ $(CC) $(CFLAGS) -o $(TPROG2) $(TPROG2).o ../lib/zebrautl.a $(YAZLIB)
$(LIB): $(PO)
rm -f $(LIB)
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: dictext.c,v $
- * Revision 1.5 1996-01-31 21:03:59 adam
+ * Revision 1.6 1996-10-29 14:00:02 adam
+ * Page size given by DICT_DEFAULT_PAGESIZE in dict.h.
+ *
+ * Revision 1.5 1996/01/31 21:03:59 adam
* Extra options.
*
* Revision 1.4 1995/09/04 12:33:31 adam
#include <assert.h>
#include <ctype.h>
-#include <alexutil.h>
+#include <zebrautl.h>
char *prog;
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: dicttest.c,v $
- * Revision 1.20 1996-03-20 09:35:16 adam
+ * Revision 1.21 1996-10-29 14:00:03 adam
+ * Page size given by DICT_DEFAULT_PAGESIZE in dict.h.
+ *
+ * Revision 1.20 1996/03/20 09:35:16 adam
* Function dict_lookup_grep got extra parameter, init_pos, which marks
* from which position in pattern approximate pattern matching should occur.
*
#include <ctype.h>
#include <dict.h>
+#include <zebrautl.h>
char *prog;
static Dict dict;
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: open.c,v $
- * Revision 1.10 1996-05-24 14:46:04 adam
+ * Revision 1.11 1996-10-29 14:00:05 adam
+ * Page size given by DICT_DEFAULT_PAGESIZE in dict.h.
+ *
+ * Revision 1.10 1996/05/24 14:46:04 adam
* Added dict_grep_cmap function to define user-mapping in grep lookups.
*
* Revision 1.9 1996/02/02 13:43:51 adam
sprintf (resource_str, "dict.%s.pagesize", name);
dict->grep_cmap = NULL;
- page_size = atoi (res_get_def (common_resource, resource_str,
- DICT_DEFAULT_PAGESIZE));
+ page_size = DICT_DEFAULT_PAGESIZE;
if (page_size < 2048)
{
logf (LOG_WARN, "Resource %s was too small. Set to 2048",