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)
dnl
dnl ------ times
AC_CHECK_HEADERS(sys/times.h)
+dnl ------ mkstemp
+AC_CHECK_FUNCS(mkstemp)
dnl
dnl ------- BZIP2
AC_CHECK_LIB(bz2,bzCompressInit)
* 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 <assert.h>
}
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;
* 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 <fcntl.h>
if (!info->fname && mk)
{
-#if 0
+#if HAVE_MKSTEMP
char template[1024];
sprintf (template, "%s/zrsXXXXXX", info->temp_path);