From 3edc95f77dd9057ce4c08f255942fa0525835aaa Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 9 Sep 2014 11:08:05 +0200 Subject: [PATCH] Initialize Libxml2 - for threaded operation PAZ-961 --- src/pazpar2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pazpar2.c b/src/pazpar2.c index 51b7249..3e8ebaf 100644 --- a/src/pazpar2.c +++ b/src/pazpar2.c @@ -108,6 +108,9 @@ static int sc_main( struct conf_config *config = 0; int test_mode = 0; + xmlInitParser(); + LIBXML_TEST_VERSION + #ifndef WIN32 if (signal(SIGPIPE, SIG_IGN) == SIG_ERR) yaz_log(YLOG_WARN|YLOG_ERRNO, "signal"); -- 1.7.10.4