HomeClusterLabs Projects

Refactor: libcrmcommon: Functionize writing compressed data to stream

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Refactor: libcrmcommon: Functionize writing compressed data to stream

Gets rid of some redundancies and hard-to-follow control flow.

Other minor changes:

  • Return EIO instead of errno in case fprintf() fails. fprintf() doesn't set errno on error.
  • Ensure filename is non-NULL.

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

Details

Provenance
nrwahl2Authored on Feb 9 2024, 10:55 PM

Commit No Longer Exists

This commit no longer exists in the repository.