projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove Debian squeeze (compat 8)
[yaz-moved-to-github.git]
/
ztest
/
ztest.c
diff --git
a/ztest/ztest.c
b/ztest/ztest.c
index
c938c71
..
cc7736d
100644
(file)
--- a/
ztest/ztest.c
+++ b/
ztest/ztest.c
@@
-33,6
+33,7
@@
#include <yaz/diagbib1.h>
#include <yaz/otherinfo.h>
#include <yaz/facet.h>
#include <yaz/diagbib1.h>
#include <yaz/otherinfo.h>
#include <yaz/facet.h>
+#include <yaz/backtrace.h>
#include "ztest.h"
#include "ztest.h"
@@
-1158,6
+1159,8
@@
void bend_close(void *handle)
int main(int argc, char **argv)
{
int main(int argc, char **argv)
{
+ yaz_enable_panic_backtrace(argv[0]);
+
return statserv_main(argc, argv, bend_init, bend_close);
}
/*
return statserv_main(argc, argv, bend_init, bend_close);
}
/*