From: Adam Dickmeiss Date: Thu, 15 Oct 1998 13:10:33 +0000 (+0000) Subject: Fixed bug in Zebra that caused it to stop indexing when empty X-Git-Tag: ZEBRA.1.0~164 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=023b1af5942f75cf6d2b70ffd42df4a3c5d16dae Fixed bug in Zebra that caused it to stop indexing when empty record was read. --- diff --git a/index/extract.c b/index/extract.c index 95ee86f..711e360 100644 --- a/index/extract.c +++ b/index/extract.c @@ -4,7 +4,11 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: extract.c,v $ - * Revision 1.86 1998-10-13 20:33:53 adam + * Revision 1.87 1998-10-15 13:10:33 adam + * Fixed bug in Zebra that caused it to stop indexing when empty + * record was read. + * + * Revision 1.86 1998/10/13 20:33:53 adam * Fixed one log message and change use ordinal to be an unsigned char. * * Revision 1.85 1998/09/22 10:03:41 adam @@ -1257,7 +1261,7 @@ static int recordExtract (SYSNO *sysno, const char *fname, return 1; logf (LOG_WARN, "No keys generated for file %s", fname); logf (LOG_WARN, " The file is probably empty"); - return 0; + return 1; } }