Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:Update
pacemaker.34782
bsc#1196340-0003-Fix-scheduler-compare-ids-of-l...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsc#1196340-0003-Fix-scheduler-compare-ids-of-lrm_rsc_op-entries-case.patch of Package pacemaker.34782
From 295f3c1856125ba3f2479aea440545191e5d7a6a Mon Sep 17 00:00:00 2001 From: "Gao,Yan" <ygao@suse.com> Date: Fri, 20 May 2022 06:37:30 +0200 Subject: [PATCH 3/9] Fix: scheduler: compare ids of lrm_rsc_op entries case-sensitively It was pcmk__str_casei only because it was originally safe_str_eq() which was always case-insensitive, and safe_str_eq() was used just out of laziness. --- lib/pengine/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pengine/utils.c b/lib/pengine/utils.c index f1f71df04..b6a6f9c93 100644 --- a/lib/pengine/utils.c +++ b/lib/pengine/utils.c @@ -1744,7 +1744,7 @@ pe__is_newer_op(const xmlNode *xml_a, const xmlNode *xml_b) const char *a_xml_id = crm_element_value(xml_a, XML_ATTR_ID); const char *b_xml_id = crm_element_value(xml_b, XML_ATTR_ID); - if (pcmk__str_eq(a_xml_id, b_xml_id, pcmk__str_casei)) { + if (pcmk__str_eq(a_xml_id, b_xml_id, pcmk__str_none)) { /* We have duplicate lrm_rsc_op entries in the status * section which is unlikely to be a good thing * - we can handle it easily enough, but we need to get -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor