X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=util%2Fjson-parse.c;h=99a766cfc5602c14403798f7c71a498b480c330d;hp=903cb8b00d4766ebd50866f77b88681f448b62f8;hb=30af0a1ebbea75c3e757eb03d3f988c61fce8511;hpb=99a9c51b93fd45748c78ace834345f2921c94d88 diff --git a/util/json-parse.c b/util/json-parse.c index 903cb8b..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-2012 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)