aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-07-18 22:14:11 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-07-18 22:14:11 +0800
commit093aba2984e28ae0a5b33186a3316e1ed9be7e0f (patch)
treefbfc4c19123454a5bcfa42d9f0b4a484f44a2ffd
parent8b593001842752379721a7fac98538efa7903ad9 (diff)
downloadgsoc2013-evolution-093aba2984e28ae0a5b33186a3316e1ed9be7e0f.tar
gsoc2013-evolution-093aba2984e28ae0a5b33186a3316e1ed9be7e0f.tar.gz
gsoc2013-evolution-093aba2984e28ae0a5b33186a3316e1ed9be7e0f.tar.bz2
gsoc2013-evolution-093aba2984e28ae0a5b33186a3316e1ed9be7e0f.tar.lz
gsoc2013-evolution-093aba2984e28ae0a5b33186a3316e1ed9be7e0f.tar.xz
gsoc2013-evolution-093aba2984e28ae0a5b33186a3316e1ed9be7e0f.tar.zst
gsoc2013-evolution-093aba2984e28ae0a5b33186a3316e1ed9be7e0f.zip
Put the mcheck stuff back in, which was removed without a changelog entry.
2002-07-18 Not Zed <NotZed@Ximian.com> * main.c (main): Put the mcheck stuff back in, which was removed without a changelog entry. svn path=/trunk/; revision=17504
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/main.c8
2 files changed, 11 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 27d721e4de..72b30520b4 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-18 Not Zed <NotZed@Ximian.com>
+
+ * main.c (main): Put the mcheck stuff back in, which was removed
+ without a changelog entry.
+
2002-07-08 Peter Williams <peterw@ximian.com>
* Makefile.am: Reference the new libefilterbar.a.
diff --git a/mail/main.c b/mail/main.c
index fff0b49a45..8be41242c8 100644
--- a/mail/main.c
+++ b/mail/main.c
@@ -88,8 +88,12 @@ main (int argc, char *argv [])
CORBA_ORB orb;
struct sigaction sa, osa;
- free (malloc (10));
-
+ /* used to make elfence work */
+ free(malloc (10));
+#ifdef DO_MCHECK
+ /*mtrace();*/
+ mcheck(blowup);
+#endif
bindtextdomain (PACKAGE, EVOLUTION_LOCALEDIR);
textdomain (PACKAGE);