use ExtUtils::MakeMaker;
-## $Id: Makefile.PL,v 1.21 2008-09-02 15:11:48 mike Exp $
+## $Id: Makefile.PL,v 1.22 2009-12-29 10:23:22 adam Exp $
# Use: perl Makefile.PL OPTIMIZE="-O0 -g -Wdeclaration-after-statement"
-my $yazconf = "yaz-config";
+my $yazconf = "../yaz/yaz-config";
my $yazver = `$yazconf --version`;
my $yazinc = `$yazconf --cflags servers`;
my $yazlibs = `$yazconf --libs server`;
/*
- * $Id: SimpleServer.xs,v 1.84 2009-08-10 08:01:28 adam Exp $
+ * $Id: SimpleServer.xs,v 1.85 2009-12-29 10:23:22 adam Exp $
* ----------------------------------------------------------------------
*
* Copyright (c) 2000-2004, Index Data.
SV **temp;
SV *err_code;
SV *err_string;
- SV *hits;
SV *point;
STRLEN len;
Z_RecordComposition *composition;
temp = hv_fetch(href, "ERR_STR", 7, 1);
err_string = newSVsv(*temp);
- temp = hv_fetch(href, "HITS", 4, 1);
- hits = newSVsv(*temp);
-
temp = hv_fetch(href, "HANDLE", 6, 1);
point = newSVsv(*temp);
hv_undef(href);
rr->errcode = SvIV(err_code);
- rr->hits = SvIV(hits);
ptr = SvPV(err_string, len);
ODR_errstr = (char *)odr_malloc(rr->stream, len + 1);
handle = zhandle;
sv_free(err_code);
sv_free(err_string);
- sv_free(hits);
sv_free( (SV*) href);
return 0;