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

Daniel P. Berrangé berrange at redhat.com
Wed Sep 5 10:46:11 UTC 2018


On Wed, Sep 05, 2018 at 08:59:33AM +0200, Fabiano Fidêncio wrote:
> 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

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the Libosinfo mailing list