#include <string.h> // for strerror(), strlen(), strcpy()
#include <stdio.h> // for sprintf()
#include <yaz/diagbib1.h>
#include <string.h> // for strerror(), strlen(), strcpy()
#include <stdio.h> // for sprintf()
#include <yaz/diagbib1.h>
info = new char[strlen(addinfo)+1];
strcpy((char*) info, addinfo);
//fprintf(stderr, "made new bib1Exception 0x%lx (%d, 0x%lx=%s)\n",
info = new char[strlen(addinfo)+1];
strcpy((char*) info, addinfo);
//fprintf(stderr, "made new bib1Exception 0x%lx (%d, 0x%lx=%s)\n",
code = src.code;
info = new char[strlen(src.info)+1];
strcpy((char*) info, src.info);
code = src.code;
info = new char[strlen(src.info)+1];
strcpy((char*) info, src.info);
q = new char[strlen(source)+1];
strcpy((char*) q, source);
}
queryException::~queryException() {
q = new char[strlen(source)+1];
strcpy((char*) q, source);
}
queryException::~queryException() {