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
Refactor ssl_put and tcpip_put to one function YAZ-832
[yaz-moved-to-github.git]
/
util
/
marcdump.c
diff --git
a/util/marcdump.c
b/util/marcdump.c
index
940ed4d
..
adfc015
100644
(file)
--- a/
util/marcdump.c
+++ b/
util/marcdump.c
@@
-46,6
+46,7
@@
#include <yaz/yaz-util.h>
#include <yaz/xmalloc.h>
#include <yaz/options.h>
#include <yaz/yaz-util.h>
#include <yaz/xmalloc.h>
#include <yaz/options.h>
+#include <yaz/backtrace.h>
#ifndef SEEK_SET
#define SEEK_SET 0
#ifndef SEEK_SET
#define SEEK_SET 0
@@
-522,6
+523,7
@@
int main (int argc, char **argv)
#endif
prog = *argv;
#endif
prog = *argv;
+ yaz_enable_panic_backtrace(prog);
while ((r = options("i:o:C:npc:xOeXIf:t:s:l:Vv", argv, argc, &arg)) != -2)
{
no++;
while ((r = options("i:o:C:npc:xOeXIf:t:s:l:Vv", argv, argc, &arg)) != -2)
{
no++;