From 3874787a757c1160adef557fcf1ed489b4cb6584 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 17 Jun 2008 14:24:20 -0400 Subject: Add code to set MALLOC_CHECK_ and MALLOC_PERTURB_ . Add mcheck to rc.sysinit. --- sysconfig/mcheck | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sysconfig/mcheck (limited to 'sysconfig') diff --git a/sysconfig/mcheck b/sysconfig/mcheck new file mode 100644 index 00000000..94f35bd7 --- /dev/null +++ b/sysconfig/mcheck @@ -0,0 +1,9 @@ + +# MALLOC_CHECK_: should the system (libc) malloc check for memory errors? +# Used values are: +# unset: do not check +# 0: silently ignore errors +# 1: print diagnostics on stderr when an error is detected +# 2: call abort when an error is detected +export MALLOC_CHECK_=1 + -- cgit