X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=index%2Fextract.c;h=7b12e39676ab35e855a6aff41bccbc1f35aa8ca7;hb=0d1685e5db9bf74ff80a4b483754532a73fcbb74;hp=abe3c88d6eeeaa1007f6b53bb256817a82c82d38;hpb=f3e73ab63fbc960d863d9c14bab3b9e79c400ffa;p=idzebra-moved-to-github.git diff --git a/index/extract.c b/index/extract.c index abe3c88..7b12e39 100644 --- a/index/extract.c +++ b/index/extract.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: extract.c,v $ - * Revision 1.24 1995-11-15 19:13:08 adam + * Revision 1.25 1995-11-16 15:34:54 adam + * Uses new record management system in both indexer and server. + * + * Revision 1.24 1995/11/15 19:13:08 adam * Work on record management. * * Revision 1.23 1995/10/27 14:00:10 adam @@ -91,8 +94,6 @@ #include #include "index.h" -#define RECORD_BASE 1 - #if RECORD_BASE #include "recindex.h" #endif @@ -432,6 +433,7 @@ void file_extract (int cmd, const char *fname, const char *kname, rec->info[0] = rec_strdup (file_type); rec->info[1] = rec_strdup (kname); rec_put (records, rec); + rec_rm (rec); #else sysno = sysno_next++; dict_insert (file_idx, kname, sizeof(sysno), &sysno);