/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2012 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
#if HAVE_CONFIG_H
#include <yaz/querytowrbuf.h>
#include <yaz/xmlquery.h>
#include <yaz/pquery.h>
-#include <yaz/test.h>
+#include <yaz/backtrace.h>
#if YAZ_HAVE_XML2
#include <libxml/parser.h>
int r;
int active = 0;
+ yaz_enable_panic_backtrace(*argv);
while ((r = options("-p:x:", argv, argc, &arg)) != -2)
{
switch(r)