diff options
author | 2012-09-04 19:13:58 +0000 | |
---|---|---|
committer | 2012-09-04 19:13:58 +0000 | |
commit | f96aedcf76ead6409dd3b37717c38fac9b2c5870 (patch) | |
tree | f60eb243f34a29278648ebd99a39bb9f3ad753e7 /sys-apps/less/files | |
parent | doesn't build with boost-1.50 (diff) | |
download | gentoo-2-f96aedcf76ead6409dd3b37717c38fac9b2c5870.tar.gz gentoo-2-f96aedcf76ead6409dd3b37717c38fac9b2c5870.tar.bz2 gentoo-2-f96aedcf76ead6409dd3b37717c38fac9b2c5870.zip |
Use the --wide flag when calling readelf to avoid truncating long symbol names #433637 by Raphaël Droz.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/less/files')
-rw-r--r-- | sys-apps/less/files/lesspipe.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-apps/less/files/lesspipe.sh b/sys-apps/less/files/lesspipe.sh index c27ff0583f11..8e6ba081f4f9 100644 --- a/sys-apps/less/files/lesspipe.sh +++ b/sys-apps/less/files/lesspipe.sh @@ -125,8 +125,8 @@ lesspipe() { *.zoo) zoo -list "$1" || unzoo -l "$1" ;; *.7z|*.exe) 7z l -- "$1" || 7za l -- "$1" || 7zr l -- "$1" ;; *.a) ar tv "$1" ;; - *.elf) readelf -a -- "$1" ;; - *.so) readelf -h -d -s -- "$1" ;; + *.elf) readelf -a -W -- "$1" ;; + *.so) readelf -h -d -s -W -- "$1" ;; *.mo|*.gmo) msgunfmt -- "$1" ;; *.rar|.r[0-9][0-9]) unrar l -- "$1" ;; @@ -233,7 +233,7 @@ if [[ -z $1 ]] ; then elif [[ $1 == "-V" || $1 == "--version" ]] ; then Id="cvsid" cat <<-EOF - $Id: lesspipe.sh,v 1.47 2011/12/07 20:29:25 vapier Exp $ + $Id: lesspipe.sh,v 1.48 2012/09/04 19:13:58 vapier Exp $ Copyright 2001-2010 Gentoo Foundation Mike Frysinger <vapier@gentoo.org> (with plenty of ideas stolen from other projects/distros) |