From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/elfix:elfix-0.2.x commit in: scripts/
Date: Wed, 12 Oct 2011 10:49:11 +0000 (UTC) [thread overview]
Message-ID: <8a5871718ac79cadb836253e052aceb44206e128.blueness@gentoo> (raw)
commit: 8a5871718ac79cadb836253e052aceb44206e128
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 00:50:28 2011 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Oct 12 10:49:06 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/elfix.git;a=commit;h=8a587171
scripts/revdep-pax: restrict non-verbose to only mismatches
---
scripts/revdep-pax | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/scripts/revdep-pax b/scripts/revdep-pax
index 75ec724..576025e 100755
--- a/scripts/revdep-pax
+++ b/scripts/revdep-pax
@@ -84,7 +84,8 @@ def print_forward_linkings( forward_linkings, so2library_mappings, verbose ):
try:
binary_flags = pax.getflags(binary)
- s = "%s ( %s )" % ( binary, binary_flags )
+ sv = "%s ( %s )" % ( binary, binary_flags )
+ s = sv
except:
missing_binaries.append(binary)
continue
@@ -94,14 +95,15 @@ def print_forward_linkings( forward_linkings, so2library_mappings, verbose ):
try:
library = so2library_mappings[soname]
library_flags = pax.getflags(library)
- s = "%s\n\t%s\t%s ( %s )" % ( s, soname, library, library_flags )
+ sv = "%s\n\t%s\t%s ( %s )" % ( sv, soname, library, library_flags )
if binary_flags != library_flags:
+ s = "%s\n\t%s\t%s ( %s )" % ( s, soname, library, library_flags )
count = count + 1
except:
missing_links.append(soname)
if verbose:
- print s
+ print sv
if count == 0:
print 'No mismatches'
else:
@@ -137,7 +139,8 @@ def print_reverse_linkings( reverse_linkings, so2library_mappings, verbose ):
try:
library = so2library_mappings[soname]
library_flags = pax.getflags(library)
- s = "%s\t%s ( %s )" % ( soname, library, library_flags )
+ sv = "%s\t%s ( %s )" % ( soname, library, library_flags )
+ s = sv
except:
missing_sonames.append(soname)
continue
@@ -146,14 +149,15 @@ def print_reverse_linkings( reverse_linkings, so2library_mappings, verbose ):
for binary in reverse_linkings[soname]:
try:
binary_flags = pax.getflags(binary)
- s = "%s\n\t%s ( %s )" % ( s, binary, binary_flags )
+ sv = "%s\n\t%s ( %s )" % ( sv, binary, binary_flags )
if library_flags != binary_flags:
+ s = "%s\n\t%s ( %s )" % ( s, binary, binary_flags )
count = count + 1
except:
missing_links.append(binary)
if verbose:
- print s
+ print sv
if count == 0:
print 'No mismatches'
else:
next reply other threads:[~2011-10-12 10:49 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-12 10:49 Anthony G. Basile [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-10-17 21:09 [gentoo-commits] proj/elfix:elfix-0.2.x commit in: scripts/ Anthony G. Basile
2011-10-17 21:09 Anthony G. Basile
2011-10-17 21:09 Anthony G. Basile
2011-10-17 21:09 Anthony G. Basile
2011-10-17 21:09 Anthony G. Basile
2011-10-17 21:09 Anthony G. Basile
2011-10-17 21:09 Anthony G. Basile
2011-10-17 21:09 Anthony G. Basile
2011-10-12 10:48 Anthony G. Basile
2011-10-12 10:48 Anthony G. Basile
2011-10-12 10:47 Anthony G. Basile
2011-10-12 10:47 Anthony G. Basile
2011-10-08 18:54 Anthony G. Basile
2011-10-08 18:54 Anthony G. Basile
2011-10-08 18:54 Anthony G. Basile
2011-10-08 18:54 Anthony G. Basile
2011-10-08 18:54 Anthony G. Basile
2011-10-08 18:54 Anthony G. Basile
2011-10-08 18:54 Anthony G. Basile
2011-10-08 18:54 Anthony G. Basile
2011-10-08 18:54 Anthony G. Basile
2011-10-08 18:54 Anthony G. Basile
2011-10-08 18:54 Anthony G. Basile
2011-10-08 18:54 Anthony G. Basile
2011-10-08 18:54 Anthony G. Basile
2011-10-08 18:54 Anthony G. Basile
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8a5871718ac79cadb836253e052aceb44206e128.blueness@gentoo \
--to=blueness@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox