X-Git-Url: http://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.bashrc;h=b8037b733bfa67e7f29a4c84699a13afa7917ca7;hp=974d60c68e817bcd29145707f162ca7e3fc28880;hb=f44b543bb891bad49b230b29720504bfa9a7ebc7;hpb=43e6f9ef145c5e5f60c121628f03452f36a43322 diff --git a/.bashrc b/.bashrc index 974d60c..b8037b7 100644 --- a/.bashrc +++ b/.bashrc @@ -387,7 +387,7 @@ function rpmsrclist 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 yumupdate { yum makecache;yum -y --skip-broken update; } +function yumupdate {(ulimit -v unlimited;yum makecache;yum -y --skip-broken update "$@";);} ulimit -S -c 0 set +H