From 3f06678b9659b778fd57c5c594c78a8477ae56fc Mon Sep 17 00:00:00 2001 From: Sebastian Hammer Date: Wed, 1 Nov 1995 16:25:37 +0000 Subject: [PATCH] *** empty log message *** --- Makefile | 4 ++-- index/main.c | 7 ++++++- index/zserver.c | 8 +++++++- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 3eb93ab..778ea1b 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,14 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.34 1995-11-01 13:58:22 quinn Exp $ +# $Id: Makefile,v 1.35 1995-11-01 16:25:37 quinn Exp $ SHELL=/bin/sh MAKE=make SUBDIR=util str bfile dfa dict isam rset index RANLIB=ranlib YAZ=../../yaz -#OSILIB=../../xtimosi/src/libmosi.a $(YAZ)/lib/librfc.a +OSILIB=../../xtimosi/src/libmosi.a $(YAZ)/lib/librfc.a #NETLIB=-lnsl -lsocket all: diff --git a/index/main.c b/index/main.c index fb53375..cb73771 100644 --- a/index/main.c +++ b/index/main.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: main.c,v $ - * Revision 1.14 1995-10-17 18:02:09 adam + * Revision 1.15 1995-11-01 16:25:51 quinn + * *** empty log message *** + * + * Revision 1.14 1995/10/17 18:02:09 adam * New feature: databases. Implemented as prefix to words in dictionary. * * Revision 1.13 1995/10/10 12:24:39 adam @@ -54,6 +57,7 @@ #include #include +#include #include "index.h" char *prog; @@ -85,6 +89,7 @@ int main (int argc, char **argv) logf (LOG_FATAL, "Cannot open resource `%s'", base_name); exit (1); } + data1_tabpath = res_get(common_resource, "data1_tabpath"); } else if(cmd == 0) /* command */ { diff --git a/index/zserver.c b/index/zserver.c index 553e6fb..8e537a5 100644 --- a/index/zserver.c +++ b/index/zserver.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: zserver.c,v $ - * Revision 1.20 1995-10-27 14:00:12 adam + * Revision 1.21 1995-11-01 16:25:52 quinn + * *** empty log message *** + * + * Revision 1.20 1995/10/27 14:00:12 adam * Implemented detection of database availability. * * Revision 1.19 1995/10/17 18:02:11 adam @@ -74,6 +77,8 @@ #include #include +#include +#include #include #include #include "zserver.h" @@ -90,6 +95,7 @@ bend_initresult *bend_init (bend_initrequest *q) r.handle = name; logf (LOG_DEBUG, "bend_init"); + data1_tabpath = res_get(common_resource, "data1_tabpath"); server_info.sets = NULL; if (!(server_info.sys_idx_fd = open (FNAME_SYS_IDX, O_RDONLY))) { -- 1.7.10.4