projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Uses new record management system in both indexer and server.
[idzebra-moved-to-github.git]
/
index
/
extract.c
diff --git
a/index/extract.c
b/index/extract.c
index
abe3c88
..
7b12e39
100644
(file)
--- a/
index/extract.c
+++ b/
index/extract.c
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: extract.c,v $
* 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
* Work on record management.
*
* Revision 1.23 1995/10/27 14:00:10 adam
@@
-91,8
+94,6
@@
#include <recctrl.h>
#include "index.h"
#include <recctrl.h>
#include "index.h"
-#define RECORD_BASE 1
-
#if RECORD_BASE
#include "recindex.h"
#endif
#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->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);
#else
sysno = sysno_next++;
dict_insert (file_idx, kname, sizeof(sysno), &sysno);