Perturb malloc so that we spot bugs quicker
[cmccabe-etc] / .bashrc
diff --git a/.bashrc b/.bashrc
index b0df65b..5e07d40 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -47,3 +47,6 @@ case $- in
        # non-interactive shell
        ;;
 esac
+
+# Perturb malloc so that we spot bugs quicker!
+export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))