From 8c4e72194c02ce3e1b6bfc9f2f0036b52ec3ff8d Mon Sep 17 00:00:00 2001 From: Packit Service Date: Mar 03 2021 08:40:50 +0000 Subject: Apply patch glibc-rh1817513-125.patch patch_name: glibc-rh1817513-125.patch present_in_specfile: true location_in_specfile: 526 --- diff --git a/elf/dl-hwcaps.c b/elf/dl-hwcaps.c index 098173a..50d764a 100644 --- a/elf/dl-hwcaps.c +++ b/elf/dl-hwcaps.c @@ -153,7 +153,7 @@ sort_priorities_by_name (void) else to_compare = previous->name_length; int cmp = memcmp (current->name, previous->name, to_compare); - if (cmp >= 0 + if (cmp > 0 || (cmp == 0 && current->name_length >= previous->name_length)) break;