diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2012-11-02 11:04:47 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2012-11-02 11:04:47 +0100 |
commit | b76d45e3153f47125f841c8d6c5827291d1536b8 (patch) | |
tree | d1e1e060de484943710e7962f64f3ba16e597485 /solenv | |
parent | janitorial: use adress-of-value instead of manually repeating type (diff) | |
download | core-b76d45e3153f47125f841c8d6c5827291d1536b8.tar.gz core-b76d45e3153f47125f841c8d6c5827291d1536b8.zip |
Revert "detect even more memory mismanagement on glibc"
Intended to push a whole series of things, but *not* this one.
Was still under discussion at gerrit.
This reverts commit fcee486849c2e5a07c0eef630beb427742f54d8e.
Diffstat (limited to 'solenv')
-rwxr-xr-x | solenv/bin/linkoo | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/solenv/bin/linkoo b/solenv/bin/linkoo index 78202345ab71..c97df916dd40 100755 --- a/solenv/bin/linkoo +++ b/solenv/bin/linkoo @@ -54,19 +54,6 @@ export STAR_RESOURCEPATH=$thisdir/resource export SAL_DISABLE_FLOATGRAB=1 export G_SLICE=always-malloc export MALLOC_CHECK_=2 -#get some random value between 0 and 255 -rndbyte=$RANDOM -if test -n "${rndbyte}"; then - rndbyte=$(( $rndbyte % 256 )) -else - if test -r /dev/urandom; then - rndbyte=$(dd if=/dev/urandom bs=1 count=1 2>/dev/null | od -tu1 | cut -s -d " " -f2) - else - rndbyte=$(( (( $(date +%S) + 1 ) * $$ ) % 255 )) - fi -fi -export MALLOC_PERTURB_=${rndbyte} -unset rndbyte export OOO_DISABLE_RECOVERY=1 export SAL_ALLOW_LINKOO_SYMLINKS=1 '; |