HomeClusterLabs Projects

Refactor: libcrmcommon: New pcmk__str_copy()

Description

Refactor: libcrmcommon: New pcmk__str_copy()

Replace pcmk__str_update() with this when the assignee is guaranteed to
be NULL initially, and when the assignee is only a dummy variable for
returning a value.

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

Details

Provenance
nrwahl2Authored on Mar 12 2024, 2:36 PM
Parents
rP4443a9f4b533: Refactor: libcrmcommon: New pcmk__assert_alloc()
Branches
Unknown
Tags
Unknown