X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.bashrc;h=65333749c73bc0cece546d54c8aecfe757b8868f;hp=9328b480d8b0cf7d22da5f7f3ba3af160ac92fef;hb=9071b0579447e8b00d39c2e1d1a7613ec51ce376;hpb=cb72fd33c4946173bcaaad56c5565076d478495d diff --git a/.bashrc b/.bashrc index 9328b48..6533374 100644 --- a/.bashrc +++ b/.bashrc @@ -215,6 +215,7 @@ export PYTHONUNBUFFERED=1 export ASAN_OPTIONS=detect_leaks=0 export GTK_OVERLAY_SCROLLING=0 export MAKEFLAGS= +export DEBUGINFOD_URLS= cpus="`getconf _NPROCESSORS_ONLN`" if [ -n "$cpus" ];then # *3/2 was OOM for host1 32 CPUs + 16GB RAM @@ -258,9 +259,13 @@ export ULIMITME_OPTS="" for i in "-v 2000000";do (ulimit $i 2>/dev/null) && ULIMITME_OPTS="$ULIMITME_OPTS $i" done +if [ -z "$ULIMITME_OPTS" ];then + # MinGW64 would be printing "unlimited" on each ulimitme() execution. + ULIMITME_OPTS="-v unlimited" +fi # Prevent: ulimit: -m 100000 -d 150000 -v 200000: invalid number # by forcing our known $IFS value; eval(1) is needed to take $IFS to effect: -function ulimitme { IFS=" " eval "ulimit $ULIMITME_OPTS"; } +function ulimitme { IFS=" " eval "ulimit 2>/dev/null $ULIMITME_OPTS"; } function finame { find . -false ` awk