projects
/
cmccabe-etc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7fdec41
)
Perturb malloc so that we spot bugs quicker
author
Colin Patrick McCabe
<cmccabe@alumni.cmu.edu>
Tue, 9 Nov 2010 22:04:07 +0000 (14:04 -0800)
committer
Colin Patrick McCabe
<cmccabe@alumni.cmu.edu>
Sun, 2 Jan 2011 20:36:02 +0000 (12:36 -0800)
.bashrc
patch
|
blob
|
history
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))