Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:Update
pacemaker.34782
bsc#1187414-0001-Fix-libcrmcommon-Correctly-han...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsc#1187414-0001-Fix-libcrmcommon-Correctly-handle-case-sensitive-ids.patch of Package pacemaker.34782
From a038104c4abccba180431abf4638a2368cb7dfb1 Mon Sep 17 00:00:00 2001 From: Emil Penchev <emil.penchev@suse.com> Date: Thu, 1 Jul 2021 16:04:30 +0300 Subject: [PATCH] Fix: libcrmcommon: Correctly handle case-sensitive ids of xml objects when changing a value. --- lib/common/xml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common/xml.c b/lib/common/xml.c index 52706061f..dd20fb961 100644 --- a/lib/common/xml.c +++ b/lib/common/xml.c @@ -2614,10 +2614,10 @@ update_xml_child(xmlNode * child, xmlNode * to_update) CRM_CHECK(child != NULL, return FALSE); CRM_CHECK(to_update != NULL, return FALSE); - if (!pcmk__str_eq(crm_element_name(to_update), crm_element_name(child), pcmk__str_casei)) { + if (!pcmk__str_eq(crm_element_name(to_update), crm_element_name(child), pcmk__str_none)) { can_update = FALSE; - } else if (!pcmk__str_eq(ID(to_update), ID(child), pcmk__str_casei)) { + } else if (!pcmk__str_eq(ID(to_update), ID(child), pcmk__str_none)) { can_update = FALSE; } else if (can_update) { -- 2.31.1
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