git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca18ab1
)
+function valgrind
author
jkratoch
<>
Mon, 11 May 2009 20:20:39 +0000
(20:20 +0000)
committer
jkratoch
<>
Mon, 11 May 2009 20:20:39 +0000
(20:20 +0000)
.bashrc
patch
|
blob
|
history
diff --git
a/.bashrc
b/.bashrc
index
2cfd113
..
afd754d
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-359,6
+359,7
@@
function rpmsrclist
| sort -u
fi
}
+function valgrind {(unset valgrind;s=~/.python.valgrind;perl -e 'undef $/;$_=<>;1 while s/^(?:###)?({\n)(?:###)?( *ADDRESS_IN_RANGE.*\n(?:[^}#].*\n)*)###/$1$2/gm;print;' </usr/share/doc/python-devel-2.*/valgrind-python.supp >$s;valgrind --suppressions=$s "$@";);}
ulimit -S -c 0
set +H