X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=ztest%2Fztest.c;h=cc7736d5862bab96fc0e65048387fa81410cd73b;hb=51e1ca7946289042c3c09e92afc1c1c465f5d870;hp=7299be06987fefef827501a84f7bfc66caee6c74;hpb=2a7d35ce3d1bad977c9cf4f8d586e3699b4d20b3;p=yaz-moved-to-github.git diff --git a/ztest/ztest.c b/ztest/ztest.c index 7299be0..cc7736d 100644 --- a/ztest/ztest.c +++ b/ztest/ztest.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. */ /** \file @@ -33,6 +33,7 @@ #include #include #include +#include #include "ztest.h" @@ -1158,6 +1159,8 @@ void bend_close(void *handle) int main(int argc, char **argv) { + yaz_enable_panic_backtrace(argv[0]); + return statserv_main(argc, argv, bend_init, bend_close); } /*