HomeClusterLabs Projects

High: libcrmcommon: Don't assert on failure to write errors.

Description

High: libcrmcommon: Don't assert on failure to write errors.

Only text output mode is affected by this - other output formats write
to a buffer, so an error there is likely a memory problem and should be
asserted on. vprintf/fprintf can return a negative value if the file
handle is closed (say, with shell output redirection) and we don't want
to assert on that.

Fixes T891

Details

Provenance
clumensAuthored on Oct 3 2024, 9:56 AM
Parents
rP95cef6b30764: Doc: ChangeLog: update for 2.1.9-rc1 release
Branches
Unknown
Tags
Unknown
Tasks
T891: Don't assert on vfprintf() error at tool exit