From: Sebastian Hammer Date: Wed, 4 Oct 1995 09:37:08 +0000 (+0000) Subject: Fixed bug. X-Git-Tag: ZEBRA.1.0~725 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=3dfdd7ea2aa006fd41a62ac45c58035633248807;p=idzebra-moved-to-github.git Fixed bug. --- diff --git a/index/extract.c b/index/extract.c index 92454ed..0db63cc 100644 --- a/index/extract.c +++ b/index/extract.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: extract.c,v $ - * Revision 1.17 1995-10-03 14:28:57 adam + * Revision 1.18 1995-10-04 09:37:08 quinn + * Fixed bug. + * + * Revision 1.17 1995/10/03 14:28:57 adam * Buffered read in extract works. * * Revision 1.16 1995/10/03 14:28:45 adam @@ -336,12 +339,12 @@ void file_extract (int cmd, const char *fname, const char *kname) file_read_start (extractCtrl.fd); #endif extractCtrl.readf = file_read; -#if FILE_READ_BUF - file_read_stop (extractCtrl.fd); -#endif key_sysno = sysno; key_cmd = cmd; r = (*rt->extract)(&extractCtrl); +#if FILE_READ_BUF + file_read_stop (extractCtrl.fd); +#endif close (extractCtrl.fd); if (r) logf (LOG_WARN, "Couldn't extract file %s, code %d", fname, r);