Bug 1335291

Summary: RFE: Replace strncmp() (and family) with g_str_equal()
Product: [Community] Virtualization Tools Reporter: Fabiano FidĂȘncio <fidencio>
Component: libosinfoAssignee: Matthias Clasen <mclasen>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, cfergeau, fidencio
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-06 06:21:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fabiano FidĂȘncio 2016-05-11 19:20:52 UTC
This is a suggestion from Daniel Berrange, made during this conversation[0].
As mentioned in the conversation, apart from replacing strncmp() with g_str_equal(), we also should be able to get "make syntax-check" to block use of strcmp and friends to.

[0]: https://www.redhat.com/archives/libosinfo/2016-May/msg00170.html

Comment 2 Fabiano FidĂȘncio 2018-09-06 06:21:22 UTC
master:
 fc431d26c
 b7faaf96c
 3ff066cb5
 e22e15189