[diffoscope] 01/01: Tell readelf to use wide output

Jérémy Bobbio lunar at moszumanska.debian.org
Wed Dec 16 10:27:31 CET 2015

This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch master
in repository diffoscope.

commit 571a4b81f05a9320fed4068e5c51e5488a08cee6
Author: Mike Hommey <mh+diffoscope at glandium.org>
Date:   Wed Dec 16 09:22:29 2015 +0000

    Tell readelf to use wide output
    When there are differences in symbols-related sections of ELF files,
    symbols used to be truncated if they are long enough which happens often
    with C++ mangled symbols.
    Passing `-W` to readelf will enable “wide output” which will display
    everything on a single line.
    Closes: #808103
 diffoscope/comparators/elf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/comparators/elf.py b/diffoscope/comparators/elf.py
index 0aa6386..ce2ea3c 100644
--- a/diffoscope/comparators/elf.py
+++ b/diffoscope/comparators/elf.py
@@ -34,7 +34,7 @@ class Readelf(Command):
     def cmdline(self):
-        return ['readelf'] + self.readelf_options() + [self.path]
+        return ['readelf', '-W'] + self.readelf_options() + [self.path]
     def readelf_options(self):
         return []

Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git

More information about the diffoscope mailing list