HomeClusterLabs Projects

Fix: tools: Use gboolean for options in crm_resource.

Description

Fix: tools: Use gboolean for options in crm_resource.

Using bool here can result in problems on s390x due to casting from
gboolean to bool and endianness on that platform. Then, all the places
where those gbooleans get passed also need to be changed to gboolean, if
they aren't already.

See https://github.com/ClusterLabs/pacemaker/pull/2129#issuecomment-666860713J
for details.

Details

Provenance
clumensAuthored on Jul 31 2020, 10:15 AM
Parents
rP303b0301b173: Feature: tools: Convert crm_resource to use glib for command line handling.
Branches
Unknown
Tags
Unknown

Event Timeline