-$Id: CHANGELOG,v 1.35 1997-11-19 11:20:56 adam Exp $
+$Id: CHANGELOG,v 1.36 1998-02-27 14:26:07 adam Exp $
06/19/95 Release of ir-tcl-1.0b
------------------------------------------------------
08/09/96 Updated IrTcl to work with tcl7.5/tk4.1 patch level 1. The
asynchronous I/O works much better on Windows now.
-08/09/96 Borland C 5 makefile supplied with IrTcl.
-
08/21/96 New method, saveFile, that saves DB of records to a file.
08/21/96 loadFile method changed to use load records previously saved
/*
* IR toolkit for tcl/tk
- * (c) Index Data 1995-1997
+ * (c) Index Data 1995-1998
* See the file LICENSE for details.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: ir-tcl.c,v $
- * Revision 1.103 1997-11-19 11:22:10 adam
+ * Revision 1.104 1998-02-27 14:26:07 adam
+ * Changed client so that it still works if target sets numberOfRecords
+ * in response to an illegal value.
+ *
+ * Revision 1.103 1997/11/19 11:22:10 adam
* Object identifiers can be accessed in GRS-1 records.
*
* Revision 1.102 1997/09/17 12:22:40 adam
return TCL_OK;
assert (rl->u.dbrec.buf);
odr_setbuf (p->odr_in, rl->u.dbrec.buf, rl->u.dbrec.size, 0);
- if (!(*etype->fun)(p->odr_in, &rr, 0))
+ if (!(*etype->fun)(p->odr_in, (char **) &rr, 0))
return TCL_OK;
if (etype->what != Z_External_explainRecord)
odr_setbuf (p->odr_in, (char*) oe->u.octet_aligned->buf,
oe->u.octet_aligned->len, 0);
- if (!(*etype->fun)(p->odr_in, &rr, 0))
+ if (!(*etype->fun)(p->odr_in, (char **) &rr, 0))
return;
switch (etype->what)
{
&setobj->nonSurrogateDiagnosticNum);
if (zrs->which == Z_Records_DBOSD)
{
- int num_rec = setobj->numberOfRecordsReturned;
+ int num_rec = zrs->u.databaseOrSurDiagnostics->num_records;
+
+ if (num_rec != setobj->numberOfRecordsReturned)
+ {
+ logf (LOG_WARN, "numberOfRecordsReturned=%d but num records=%d",
+ setobj->numberOfRecordsReturned, num_rec);
+ setobj->numberOfRecordsReturned = num_rec;
+ }
- if (num_rec > zrs->u.databaseOrSurDiagnostics->num_records)
- num_rec = zrs->u.databaseOrSurDiagnostics->num_records;
- logf (LOG_DEBUG, "Got %d records", num_rec);
for (offset = 0; offset < num_rec; offset++)
{
Z_NamePlusRecord *znpr = zrs->u.databaseOrSurDiagnostics->
set profile(DanBib,mediumSetPresentNumber) 0
set profile(DanBib,multipleDatabases) 0
set profile(DanBib,namedResultSets) 1
-set profile(DanBib,port) 2100
+set profile(DanBib,port) 210
set profile(DanBib,preferredMessageSize) 30000
set profile(DanBib,presentChunk) 4
set profile(DanBib,protocol) Z39
set profile(DanBib,targetInfoName) {}
set profile(DanBib,timeDefine) 878567355
set profile(DanBib,timeLastExplain) {}
-set profile(DanBib,timeLastInit) 887289885
+set profile(DanBib,timeLastInit) 888495120
set profile(DanBib,welcomeMessage) {}
set profile(DanBib,windowNumber) 2
set profile(Default,authentication) {}