projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scripts/bloat-o-meter: fix SIGPIPE
[linux-2.6-block.git]
/
scripts
/
bloat-o-meter
diff --git
a/scripts/bloat-o-meter
b/scripts/bloat-o-meter
index 19f5adfd877dcf9b7e9c5b63c796ca72ee06dccf..d9ff038c1b28400799462dad5e29335b092b9a1a 100755
(executable)
--- a/
scripts/bloat-o-meter
+++ b/
scripts/bloat-o-meter
@@
-8,6
+8,9
@@
# of the GNU General Public License, incorporated herein by reference.
import sys, os, re
+from signal import signal, SIGPIPE, SIG_DFL
+
+signal(SIGPIPE, SIG_DFL)
if len(sys.argv) != 3:
sys.stderr.write("usage: %s file1 file2\n" % sys.argv[0])