Problem is the passed FILE*. We can not pass FILE pointers between
DLLs. So we just avoid dumping the XML config during start on Windows.
r = yaz_xml_include_simple(n, wrbuf_cstr(config->confdir));
if (r == 0) /* OK */
{
r = yaz_xml_include_simple(n, wrbuf_cstr(config->confdir));
if (r == 0) /* OK */
{
yaz_log(YLOG_LOG, "Configuration %s after include processing",
fname);
#if LIBXML_VERSION >= 20600
yaz_log(YLOG_LOG, "Configuration %s after include processing",
fname);
#if LIBXML_VERSION >= 20600
#else
xmlDocDump(yaz_log_file(), doc);
#endif
#else
xmlDocDump(yaz_log_file(), doc);
#endif
r = parse_config(config, n);
}
xmlFreeDoc(doc);
r = parse_config(config, n);
}
xmlFreeDoc(doc);