From e2f07a294e07cb1a8b9659afd2d834a26ee2baed Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 15 Mar 2002 20:11:36 +0000 Subject: [PATCH] *** empty log message *** --- configure.in | 4 +++- index/zebraapi.c | 6 +++--- rset/rstemp.c | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/configure.in b/configure.in index db6f1d8..d5f70f4 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Zebra, Index Data Aps, 1994-2002 -dnl $Id: configure.in,v 1.31 2002-02-20 17:32:38 adam Exp $ +dnl $Id: configure.in,v 1.32 2002-03-15 20:11:36 adam Exp $ dnl AC_INIT(include/zebraver.h) AC_MSG_CHECKING(for package) @@ -78,6 +78,8 @@ fi dnl dnl ------ times AC_CHECK_HEADERS(sys/times.h) +dnl ------ mkstemp +AC_CHECK_FUNCS(mkstemp) dnl dnl ------- BZIP2 AC_CHECK_LIB(bz2,bzCompressInit) diff --git a/index/zebraapi.c b/index/zebraapi.c index c2ae1d2..817b803 100644 --- a/index/zebraapi.c +++ b/index/zebraapi.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2002, Index Data * All rights reserved. * - * $Id: zebraapi.c,v 1.46 2002-02-20 23:07:54 adam Exp $ + * $Id: zebraapi.c,v 1.47 2002-03-15 20:11:36 adam Exp $ */ #include @@ -181,9 +181,9 @@ static int zebra_register_activate (ZebraHandle zh, int rw, int useshadow) } if (rw) { - zs->matchDict = dict_open (zs->bfs, GMATCH_DICT, 50, 1, 0); + zs->matchDict = dict_open (zs->bfs, GMATCH_DICT, 20, 1, 0); } - if (!(zs->dict = dict_open (zs->bfs, FNAME_DICT, 80, rw, 0))) + if (!(zs->dict = dict_open (zs->bfs, FNAME_DICT, 40, rw, 0))) { logf (LOG_WARN, "dict_open"); return -1; diff --git a/rset/rstemp.c b/rset/rstemp.c index f5e8e09..bd4f83b 100644 --- a/rset/rstemp.c +++ b/rset/rstemp.c @@ -3,7 +3,7 @@ * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * - * $Id: rstemp.c,v 1.28 2002-03-14 18:41:59 adam Exp $ + * $Id: rstemp.c,v 1.29 2002-03-15 20:11:36 adam Exp $ */ #include @@ -126,7 +126,7 @@ static void r_flush (RSFD rfd, int mk) if (!info->fname && mk) { -#if 0 +#if HAVE_MKSTEMP char template[1024]; sprintf (template, "%s/zrsXXXXXX", info->temp_path); -- 1.7.10.4