HomeClusterLabs Projects

Fix: libcrmcommon: Drop xmlRegisterNodeDefault()

Description

Fix: libcrmcommon: Drop xmlRegisterNodeDefault()

...and xmlDeregisterNodeDefault().

Within libxml2, these are tagged with the "deprecated" compiler
attribute, causing builds on some bleeding-edge distributions (currently
at least debian-experimental) to fail.

Instead, allocate and free private data as needed when creating and
freeing XML nodes.

Fixes T838

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

Details

Provenance
nrwahl2Authored on Sep 7 2024, 4:40 AM
Parents
rP75a2fb122c91: Refactor: libcrmcommon: Improve pcmk__xe_set_content() error checking
Branches
Unknown
Tags
Unknown
Tasks
T838: Manage libxml2 private data better