projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f4d4b4e
)
Bug fix: YAZ GFS did not return schema in explainResponse.
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 30 Sep 2004 18:40:13 +0000
(18:40 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 30 Sep 2004 18:40:13 +0000
(18:40 +0000)
NEWS
patch
|
blob
|
history
src/seshigh.c
patch
|
blob
|
history
diff --git
a/NEWS
b/NEWS
index
de1f631
..
131db42
100644
(file)
--- a/
NEWS
+++ b/
NEWS
@@
-1,5
+1,7
@@
Possible compatibility problems with earlier versions marked with '*'.
Possible compatibility problems with earlier versions marked with '*'.
+Bug fix: in YAZ GFS schema was not returned in explainResponse.
+
--- 2.0.25 2004/09/30
The YAZ GFS when converting SRW/SRU requests to Z39.50 structures
--- 2.0.25 2004/09/30
The YAZ GFS when converting SRW/SRU requests to Z39.50 structures
diff --git
a/src/seshigh.c
b/src/seshigh.c
index
8e7a00f
..
ec058c6
100644
(file)
--- a/
src/seshigh.c
+++ b/
src/seshigh.c
@@
-2,7
+2,7
@@
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: seshigh.c,v 1.29 2004-09-30 11:15:52 adam Exp $
+ * $Id: seshigh.c,v 1.30 2004-09-30 18:40:13 adam Exp $
*/
/*
*/
/*
@@
-774,7
+774,7
@@
static void srw_bend_explain(association *assoc, request *req,
if (srw_req->recordPacking &&
!strcmp(srw_req->recordPacking, "xml"))
packing = Z_SRW_recordPacking_XML;
if (srw_req->recordPacking &&
!strcmp(srw_req->recordPacking, "xml"))
packing = Z_SRW_recordPacking_XML;
- srw_res->record.recordSchema = 0;
+ srw_res->record.recordSchema = rr.schema;
srw_res->record.recordPacking = packing;
srw_res->record.recordData_buf = rr.explain_buf;
srw_res->record.recordData_len = strlen(rr.explain_buf);
srw_res->record.recordPacking = packing;
srw_res->record.recordData_buf = rr.explain_buf;
srw_res->record.recordData_len = strlen(rr.explain_buf);
@@
-1338,7
+1338,7
@@
static Z_APDU *process_initRequest(association *assoc, request *reqb)
assoc->init->implementation_name,
odr_prepend(assoc->encode, "GFS", resp->implementationName));
assoc->init->implementation_name,
odr_prepend(assoc->encode, "GFS", resp->implementationName));
- version = odr_strdup(assoc->encode, "$Revision: 1.29 $");
+ version = odr_strdup(assoc->encode, "$Revision: 1.30 $");
if (strlen(version) > 10) /* check for unexpanded CVS strings */
version[strlen(version)-2] = '\0';
resp->implementationVersion = odr_prepend(assoc->encode,
if (strlen(version) > 10) /* check for unexpanded CVS strings */
version[strlen(version)-2] = '\0';
resp->implementationVersion = odr_prepend(assoc->encode,