]> sourceware.org Git - libabigail.git/commit
abipkgdiff: Avoid uncertainty when sorting worker tasks
authorDodji Seketeli <dodji@redhat.com>
Wed, 25 Nov 2020 11:57:47 +0000 (12:57 +0100)
committerDodji Seketeli <dodji@redhat.com>
Wed, 25 Nov 2020 12:17:21 +0000 (13:17 +0100)
commit6ac6cfb3f64aa8c0d80e3bbde09ef873027c1759
tree18e5cd98e58e8cbd34149d86027dacfd3757becb
parent33223963bde7cd099101d849176293463f1ac4bb
abipkgdiff: Avoid uncertainty when sorting worker tasks

Worker tasks that have compared the binaries of two packages are
sorted according to the sizes of the binaries they compared.  The
tasks that compared bigger binaries come first.  So the output of
these tasks is always sorted the same.

When two tasks have sorted binaries of the same size, let's sort them
by taking into account the lexicographic order of the binaries names.

* elf_size_is_greater: Take the name of the binaries into account
when their size is equal.  Also, assert that all comparison tasks
have compared binaries.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
tools/abipkgdiff.cc
This page took 0.034153 seconds and 5 git commands to generate.