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
New feature: databases. Implemented as prefix to words in dictionary.
[idzebra-moved-to-github.git]
/
index
/
zsets.c
diff --git
a/index/zsets.c
b/index/zsets.c
index
1e0a590
..
f4f21e8
100644
(file)
--- a/
index/zsets.c
+++ b/
index/zsets.c
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: zsets.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: zsets.c,v $
- * Revision 1.8 1995-10-10 13:59:25 adam
+ * Revision 1.9 1995-10-17 18:02:14 adam
+ * New feature: databases. Implemented as prefix to words in dictionary.
+ *
+ * Revision 1.8 1995/10/10 13:59:25 adam
* Function rset_open changed its wflag parameter to general flags.
*
* Revision 1.7 1995/10/06 14:38:01 adam
* Function rset_open changed its wflag parameter to general flags.
*
* Revision 1.7 1995/10/06 14:38:01 adam
@@
-73,8
+76,8
@@
ZServerSet *resultSetGet (ZServerInfo *zi, const char *name)
return NULL;
}
return NULL;
}
-ZServerSetSysno *resultSetSysnoGet (ZServerInfo *zi, const char *name,
- int num, int *positions)
+ZServerSetSysno *resultSetSysnoGet (ZServerInfo *zi, const char *name,
+ int num, int *positions)
{
ZServerSet *sset;
ZServerSetSysno *sr;
{
ZServerSet *sset;
ZServerSetSysno *sr;
@@
-117,11
+120,7
@@
ZServerSetSysno *resultSetSysnoGet (ZServerInfo *zi, const char *name,
return sr;
}
return sr;
}
-void resultSetRecordDel (ZServerInfo *zi, ZServerRecord *records, int num)
+void resultSetSysnoDel (ZServerInfo *zi, ZServerSetSysno *records, int num)
{
{
- int i;
-
- for (i = 0; i<num; i++)
- xfree (records[i].buf);
xfree (records);
}
xfree (records);
}