From ee9b5fecb61f75cad11667253758e4fa8818ce63 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Tue, 20 Sep 2011 21:01:13 +0200 Subject: [PATCH] LinkageMapMachO: don't strip scanmacho output like ELF, fixes bug #383691 --- pym/portage/util/_dyn_libs/LinkageMapMachO.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/util/_dyn_libs/LinkageMapMachO.py b/pym/portage/util/_dyn_libs/LinkageMapMachO.py index 10cf48256..492334ee4 100644 --- a/pym/portage/util/_dyn_libs/LinkageMapMachO.py +++ b/pym/portage/util/_dyn_libs/LinkageMapMachO.py @@ -251,7 +251,7 @@ class LinkageMapMachO(object): writemsg_level(_("\nError decoding characters " \ "returned from scanmacho: %s\n\n") % (l,), level=logging.ERROR, noiselevel=-1) - l = l[3:].rstrip("\n") + l = l.rstrip("\n") if not l: continue fields = l.split(";") -- 2.26.2