X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=util%2Fjson-parse.c;h=99a766cfc5602c14403798f7c71a498b480c330d;hp=833a1b5a64bebf623c9077e32fbea2c6a95b7bc2;hb=30af0a1ebbea75c3e757eb03d3f988c61fce8511;hpb=0c46d2e66bdeea1600e700124a81a5d0a65d349e diff --git a/util/json-parse.c b/util/json-parse.c index 833a1b5..99a766c 100644 --- a/util/json-parse.c +++ b/util/json-parse.c @@ -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. */ #if HAVE_CONFIG_H @@ -13,6 +13,7 @@ #include #include #include +#include void usage(const char *prog) { @@ -50,6 +51,8 @@ int main(int argc, char **argv) int print = 0; int ret; char *arg; + + yaz_enable_panic_backtrace(*argv); while ((ret = options("p", argv, argc, &arg)) != YAZ_OPTIONS_EOF) { switch (ret)