X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.bashrc;h=da4df3af8f996ae9518355673a0d6c69760454ba;hp=cc53b706eb54724d2246927a885ad9c646e3aa4a;hb=f1fd1da97405a124a824d3808d6bc59df1b16b9b;hpb=f7d2fee2e68cf30315496c90727db966f3b9a246;ds=sidebyside diff --git a/.bashrc b/.bashrc index cc53b70..da4df3a 100644 --- a/.bashrc +++ b/.bashrc @@ -388,7 +388,7 @@ function rpmsrclist | sort -u fi } -function valgrind {(set -e;unset valgrind;s=~/.python.valgrind;rm -f $s;cp -p /usr/share/doc/python-devel-2.*/valgrind-python.supp $s;patch $s <$s.patch;perl -i -e 'undef $/;$_=<>;1 while s/^(?:###)?({\n)(?:###)?( *ADDRESS_IN_RANGE.*\n(?:[^}#].*\n)*)###/$1$2/gm;print;' $s;valgrind --suppressions=$s "$@";);} +function valgrind {(set -e;unset valgrind;s=~/.python.valgrind;rm -f $s;cp -p /usr/share/doc/python-devel-2.*/valgrind-python.supp $s;patch $s <$s.patch;perl -i -e 'undef $/;$_=<>;1 while s/^(?:###)?({\n)(?:###)?( *ADDRESS_IN_RANGE.*\n(?:[^}#].*\n)*)###/$1$2/gm;print;' $s;valgrind --num-callers=50 --suppressions=$s "$@";);} function yumupdate {(ulimit -v unlimited;yum makecache;yum -y --skip-broken update "$@";);} ulimit -S -c 0