Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP6
pacemaker.27552
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.27552
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(-) Index: pacemaker-2.0.4+20200616.2deceaa3a/lib/pengine/utils.c =================================================================== --- pacemaker-2.0.4+20200616.2deceaa3a.orig/lib/pengine/utils.c +++ pacemaker-2.0.4+20200616.2deceaa3a/lib/pengine/utils.c @@ -1667,7 +1667,7 @@ pe__is_newer_op(const xmlNode *xml_a, co 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 (safe_str_eq(a_xml_id, b_xml_id)) { + if (crm_str_eq(a_xml_id, b_xml_id, TRUE)) { /* 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
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