HomeClusterLabs Projects

Refactor: libcrmcommon: Drop xmlSetBufferAllocationScheme() call
f8c12a53078dUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Refactor: libcrmcommon: Drop xmlSetBufferAllocationScheme() call

As of libxml v2.14.0, xmlSetBufferAllocationScheme() is deprecated,
which is already causing compilation failures on debian-experimental.
Further, also as of libxml v2.14.0, its replacement
xmlBufferSetAllocationScheme() is a no-op.

At this point, we could easily drop pcmkxml_init(), replacing it with
calls to pcmk
schema_init(). However, pcmk__xml_cleanup() still seems
reasonable to have, and it seems intuitive to keep a corresponding
init() function. So for now this remains as a wrapper.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Thu, Apr 24, 1:34 PM
Parents
rP1fb7b4050985: Merge pull request #3869 from nrwahl2/nrwahl2-regression
Branches
Unknown
Tags
Unknown

Event Timeline