HomeClusterLabs Projects

Fix: libcrmcommon: Add pcmk_str_is_infinity and pcmk_str_is_minus_infinity.

Description

Fix: libcrmcommon: Add pcmk_str_is_infinity and pcmk_str_is_minus_infinity.

There's multiple ways of specifying a positive infinity in a string,
like "INFINITY" and "+INFINITY". The first new function provides a way
of comparing against both to check for infinity. The second new
function is just for consistency, since there is only one way to specify
a negative infinity.

Details

Provenance
clumensAuthored on Mar 18 2020, 1:18 PM
Parents
rPef120819707d: Merge pull request #2010 from kgaillot/fixes
Branches
Unknown
Tags
Unknown

Event Timeline