aboutsummaryrefslogtreecommitdiffstats
path: root/mail/main.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-01-29 17:33:15 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-01-29 17:33:15 +0800
commitaad4202594a706636bc893b8716a573861216175 (patch)
treef0e1c0efaf1b86a1408805353f3e914216aa469a /mail/main.c
parent1b18f022ca57ebebb272a148b25173d92b2b89c5 (diff)
downloadgsoc2013-evolution-aad4202594a706636bc893b8716a573861216175.tar
gsoc2013-evolution-aad4202594a706636bc893b8716a573861216175.tar.gz
gsoc2013-evolution-aad4202594a706636bc893b8716a573861216175.tar.bz2
gsoc2013-evolution-aad4202594a706636bc893b8716a573861216175.tar.lz
gsoc2013-evolution-aad4202594a706636bc893b8716a573861216175.tar.xz
gsoc2013-evolution-aad4202594a706636bc893b8716a573861216175.tar.zst
gsoc2013-evolution-aad4202594a706636bc893b8716a573861216175.zip
Debug function to compare the tree we think we have, after an incremental
2001-01-29 Not Zed <NotZed@Ximian.com> * message-list.c (tree_equal): Debug function to compare the tree we think we have, after an incremental update. (build_tree): Check the tree after we've built it. * mail-mt.c (mail_get_password): If we are being called from the main gui thread, then just call the dialogue directly. Ideally we dont want this anyway but lets handle the case nicely. (mail_get_password): Try locking around the password request, to single-queue any password requests. (mail_msg_init): Push an exit handler to clean it up on completion. * mail-send-recv.c (receive_update_got_store): New function called when the store has been retrieved asynchronously. (mail_send_receive): Get the store asynchronously. This was causing problems where the password dialogue would try and be called from the main thread via a message. * mail-ops.c (mail_get_store): New function to get a store (a)synchronously. More or less taken from subscribe-dialog, which i will remove later. (mail_scan_subfolders): Try running the scan subfolder thing asynchronously, to help startup time. Not sure if this will work, but presumably the shell can handle the folders appearing later ok. svn path=/trunk/; revision=7886
Diffstat (limited to 'mail/main.c')
-rw-r--r--mail/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/main.c b/mail/main.c
index 2b3c08e452..7217a37ed2 100644
--- a/mail/main.c
+++ b/mail/main.c
@@ -31,11 +31,11 @@
#include "mail.h"
#include "mail-mt.h"
-#if 0
+#if 1
static int blowup(int status)
{
printf("memory blew up, status %d\n", status);
- /*abort();*/
+ abort();
return status;
}
#endif
@@ -62,7 +62,7 @@ main (int argc, char *argv [])
CORBA_ORB orb;
struct sigaction sa, osa;
-#if 0
+#if 1
/* used to make elfence work */
#if 0
free (malloc (10));