Bug 1335291 - RFE: Replace strncmp() (and family) with g_str_equal()
Summary: RFE: Replace strncmp() (and family) with g_str_equal()
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libosinfo
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-11 19:20 UTC by Fabiano Fidêncio
Modified: 2018-09-06 06:21 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-06 06:21:22 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.