From: Fabian Groffen Date: Tue, 20 Sep 2011 19:01:13 +0000 (+0200) Subject: LinkageMapMachO: don't strip scanmacho output like ELF, fixes bug #383691 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ee9b5fecb61f75cad11667253758e4fa8818ce63;p=portage.git LinkageMapMachO: don't strip scanmacho output like ELF, fixes bug #383691 --- 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(";")