yaz/yaz-5.22.0-codecleanup.patch
Lars Vogdt 3df19cfb7c - Update to 5.22.0
+ rdf-lookup: Add timeout configuration option YAZ-891
                Add yaz_url_set_timeout
  + rdf-lookup: report error if X-Path cannot be compiled YAZ-890
  + rdf-lookup: avoid double dash in generated XML comments
  + rdf-lookup: fix misleading log on rdf-failures YAZ-884
  + Add documentation for <param> tag in xslt retrieval facility doc
  + comstack: Fix compilation error if getaddrinfo does not exist
  + yaz-url: ignore content-length for HTTP method HEAD YAZ-878
  + retrieval: fix incorrect backend schema YAZ-877
  + record_conv: allow HTTP method to be set for authority lookup
  + record_conv: change error for unsupported backend element
  + New type, rdf-lookup, for record conversion system (retrieval)
  + Fix yaz_url_exec sending same uri for 2nd call
  + cql2pqf: relation modifiers with name and value are converted
    to proximity with unit=element. Left operand is the the primary
    index and term. Right operand is attribute index-name mapping of name
    and value being the relation modifier value. For example,
       dc.title =/dc.language=dk kirke
    could be mapped to
       @prox 0 0 0 0 k 8 @attr 1=4 "kirke" @attr 1=54 dk
  + Add ProximityUnit map to/from string utility
  + New functions z_ProxUnit_to_str and z_str_to_ProxUnit.
  + Allow multi-byte indicators for MARC subsystem
  + JSON: to the spec check of number
  + JSON: strict \uxxxx sequence
  + JSON: fail for nesting more than 1000 levels
  + JSON: distinguish between EOF and error
  + CCL: fix r=o, r=r WRT inherited attributes YAZ-864
  + ZOOM C: tweak when connection failed is returned

OBS-URL: https://build.opensuse.org/package/show/Publishing/yaz?expand=0&rev=100
2017-07-03 16:09:14 +00:00

23 lines
721 B
Diff

Index: yaz-5.22.0/src/zoom-sru.c
===================================================================
--- yaz-5.22.0.orig/src/zoom-sru.c
+++ yaz-5.22.0/src/zoom-sru.c
@@ -145,7 +145,7 @@ zoom_ret ZOOM_connection_srw_send_scan(Z
zoom_ret ZOOM_connection_srw_send_search(ZOOM_connection c)
{
int i;
- int *start, *count;
+ int *start=0, *count;
ZOOM_resultset resultset = 0;
Z_SRW_PDU *sr = 0;
const char *option_val = 0;
@@ -253,7 +253,7 @@ static zoom_ret handle_srw_response(ZOOM
Z_SRW_searchRetrieveResponse *res)
{
ZOOM_resultset resultset = 0;
- int *start, *count;
+ int *start=0, *count;
int i;
NMEM nmem;
ZOOM_Event event;