HomeClusterLabs Projects

Refactor: libcrmcommon,libcrmservice,executor: avoid duplicating stdout/stderr

Description

Refactor: libcrmcommon,libcrmservice,executor: avoid duplicating stdout/stderr

The lone caller of pcmk__set_result_output() doesn't need to duplicate
stdout/stderr, so that function now uses its arguments directly rather than
strdup() them.

Details

Provenance
kgaillotAuthored on Oct 6 2021, 5:26 PM
Parents
rP82c31ef4495a: Refactor: libcrmservice: add internal APIs to "steal" stdout/stderr
Branches
Unknown
Tags
Unknown

Event Timeline