Bug correction on mac osx :
based on libxml2 documentation : xmlCleanupParser() function must not be called several times
This commit is contained in:
parent
136e5e90c7
commit
1155d95365
|
@ -94,7 +94,7 @@ namespace {
|
||||||
if ( _status != 0 ) {
|
if ( _status != 0 ) {
|
||||||
cerr << "[ERROR] Syntax error in \"" << _fileName << "\" configuration file." << endl;
|
cerr << "[ERROR] Syntax error in \"" << _fileName << "\" configuration file." << endl;
|
||||||
}
|
}
|
||||||
xmlCleanupParser ();
|
// xmlCleanupParser (); // CF libxml2 documentation if libxml2 parser is use by the application any other time : DO NOT CALL xmlCleanupParser (at least on mac osx)
|
||||||
}
|
}
|
||||||
|
|
||||||
return (_status == 0);
|
return (_status == 0);
|
||||||
|
|
Loading…
Reference in New Issue