diff options
author | Patrick Benavoli <patrickx.benavoli@intel.com> | 2011-09-05 16:53:58 +0200 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2014-02-10 17:14:54 +0100 |
commit | 592ae56e6f8bc22c57224eb0528dd80caffa70de (patch) | |
tree | 4c642b55443d0d96b403858c73e9e609ea7fbb57 /xmlserializer | |
parent | 1387bda01b089d8e8df06339d9c15d53b3de6725 (diff) | |
download | external_parameter-framework-592ae56e6f8bc22c57224eb0528dd80caffa70de.zip external_parameter-framework-592ae56e6f8bc22c57224eb0528dd80caffa70de.tar.gz external_parameter-framework-592ae56e6f8bc22c57224eb0528dd80caffa70de.tar.bz2 |
parameter-framework: Improvements & corrections 2
BZ: 9026
1. auto sync off now causes a global forward resynchronization
2. Added version info
3. Libxml2 cleanup correclty scheduled for process end
4. Changed criterion rule id / name association array to const
5. Nesting counter used for logs now mutable
Change-Id: I1f86ee9a56a501ded97706a1d6b877b80950a021
Orig-Change-Id: I5a852736f3c5dd592795a2a70eef42ed9d4695b7
Signed-off-by: Patrick Benavoli <patrickx.benavoli@intel.com>
Reviewed-on: http://android.intel.com:8080/20206
Reviewed-by: Barthes, FabienX <fabienx.barthes@intel.com>
Tested-by: Barthes, FabienX <fabienx.barthes@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'xmlserializer')
-rw-r--r-- | xmlserializer/XmlSerializer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlserializer/XmlSerializer.cpp b/xmlserializer/XmlSerializer.cpp index 73ae90c..0c4f5ff 100644 --- a/xmlserializer/XmlSerializer.cpp +++ b/xmlserializer/XmlSerializer.cpp @@ -38,7 +38,7 @@ bool CXmlSerializer::_bLibXml2CleanupScheduled; CXmlSerializer::CXmlSerializer(const string& strXmlInstanceFile, const string& strXmlSchemaFile, const string& strRootElementType, CXmlSerializingContext& serializingContext) : _strXmlInstanceFile(strXmlInstanceFile), _strXmlSchemaFile(strXmlSchemaFile), _strRootElementType(strRootElementType), _serializingContext(serializingContext), _pDoc(NULL), _pRootNode(NULL) { - if (_bLibXml2CleanupScheduled) { + if (!_bLibXml2CleanupScheduled) { // Schedule cleanup atexit(xmlCleanupParser); |