Avoid specifying YAZ4J_DIR for win64
[yaz-moved-to-github.git] / util / yaziconv.c
index 0e8bb5a..57de6e1 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2013 Index Data
+ * Copyright (C) Index Data
  * See the file LICENSE for details.
  */
 
@@ -12,6 +12,7 @@
 #include <string.h>
 
 #include <yaz/yaz-util.h>
+#include <yaz/backtrace.h>
 
 #define CHUNK_IN 64
 #define CHUNK_OUT 64
@@ -138,6 +139,7 @@ int main(int argc, char **argv)
     yaz_iconv_t cd;
     FILE *inf = stdin;
 
+    yaz_enable_panic_backtrace(*argv);
     while ((ret = options("vf:t:", argv, argc, &arg)) != -2)
     {
         switch (ret)