X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=index%2Fextract.c;h=044a225cfe690f1fb618bdbf69c7b2710b0e1b91;hb=c16b638200ede4f4130c93906a000d0cfbcd9c95;hp=d5359019a4acf436cb3c8f621f2c55b8882efa16;hpb=3aa36f2aff049abbb012fab528183a189c06663f;p=idzebra-moved-to-github.git diff --git a/index/extract.c b/index/extract.c index d535901..044a225 100644 --- a/index/extract.c +++ b/index/extract.c @@ -1,4 +1,4 @@ -/* $Id: extract.c,v 1.150 2004-01-22 16:23:23 heikki Exp $ +/* $Id: extract.c,v 1.151 2004-01-29 13:11:01 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -23,6 +23,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #include +#include #ifdef WIN32 #include #else @@ -1353,11 +1354,11 @@ void extract_flushWriteKeys (ZebraHandle zh, int final) qsort (zh->reg->key_buf + zh->reg->ptr_top - ptr_i, ptr_i, sizeof(char*), key_qsort_compare); - /* zebra.cfg: tempfiles: - /* Y: always use temp files (old way) */ - /* A: use temp files, if more than one (auto) */ - /* = if this is both the last and the first */ - /* N: never bother with temp files (new) */ + /* zebra.cfg: tempfiles: + Y: always use temp files (old way) + A: use temp files, if more than one (auto) + = if this is both the last and the first + N: never bother with temp files (new) */ temp_policy=toupper(res_get_def(zh->res,"tempfiles","auto")[0]); if (temp_policy != 'Y' && temp_policy != 'N' && temp_policy != 'A') {