[PATCH libosinfo 0/4] Replace strcmp() with g_str_equal()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patchset replaces strcmp() usage for g_str_equal() and also
re-enables and adjusts sc_prohibit_strcmp.

The only strncmp() usage we have in our code has been kept.
In the same way, places where we're using g_strcmp0() is safer were also
kept.

https://bugzilla.redhat.com/show_bug.cgi?id=1335291

Fabiano Fidêncio (4):
  loader: Replace strcmp() with g_str_equal()
  osinfo-detect: Replace strcmp() with g_str_equal()
  maint.mk: Re-enable sc_prohibit_strcmp
  maint.mk: Adjust sc_prohibit_strcmp

 cfg.mk                 |  2 --
 maint.mk               |  5 ++--
 osinfo/osinfo_loader.c | 68 +++++++++++++++++++++---------------------
 tools/osinfo-detect.c  |  8 ++---
 4 files changed, 40 insertions(+), 43 deletions(-)

-- 
2.17.1

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux