From 999c8d8e4e8e2940188d7dfcc5d1bb0651f7f4a9 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 29 Jan 2004 13:11:01 +0000 Subject: [PATCH] Fixed a number of warnings. Copyright year. --- index/extract.c | 13 +++++++------ rset/rsisamc.c | 5 +++-- rset/rsisamd.c | 5 +++-- 3 files changed, 13 insertions(+), 10 deletions(-) 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') { diff --git a/rset/rsisamc.c b/rset/rsisamc.c index 857aa74..cb90afd 100644 --- a/rset/rsisamc.c +++ b/rset/rsisamc.c @@ -1,5 +1,5 @@ -/* $Id: rsisamc.c,v 1.13 2004-01-16 15:27:35 heikki Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 +/* $Id: rsisamc.c,v 1.14 2004-01-29 13:11:01 adam Exp $ + Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps This file is part of the Zebra server. @@ -25,6 +25,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #include +#include #include #include diff --git a/rset/rsisamd.c b/rset/rsisamd.c index 46f548d..8da5ce7 100644 --- a/rset/rsisamd.c +++ b/rset/rsisamd.c @@ -1,5 +1,5 @@ -/* $Id: rsisamd.c,v 1.5 2004-01-16 15:27:35 heikki Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 +/* $Id: rsisamd.c,v 1.6 2004-01-29 13:11:01 adam Exp $ + Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps This file is part of the Zebra server. @@ -25,6 +25,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #include +#include #include #include -- 1.7.10.4