HomeClusterLabs Projects

Refactor: libcrmcommon: Best practices for decompress_file()

Description

Refactor: libcrmcommon: Best practices for decompress_file()

Be stricter about error-checking bz2 functions using the provided error
codes. Add doxygen. Reduce duplication. Limit scope of read_len
variable.

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

Details

Provenance
nrwahl2Authored on Feb 9 2024, 12:14 AM
Parents
rPc301445c3b83: Refactor: libcrmcommon: Drop uncompressed var in pcmk__xml_read()
Branches
Unknown
Tags
Unknown