+2006-10-02 [colin] 2.5.2cvs34
+
+ * src/mh.c
+ Time mh_write_sequences() - it's fast
+ * src/summaryview.c
+ Init a variable to shut up gcc
+
2006-10-01 [colin] 2.5.2cvs33
* src/folder.c
( cvs diff -u -r 1.16.2.41 -r 1.16.2.42 src/msgcache.c; ) > 2.5.2cvs31.patchset
( cvs diff -u -r 1.79.2.44 -r 1.79.2.45 src/mh.c; cvs diff -u -r 1.16.2.42 -r 1.16.2.43 src/msgcache.c; ) > 2.5.2cvs32.patchset
( cvs diff -u -r 1.213.2.118 -r 1.213.2.119 src/folder.c; cvs diff -u -r 1.79.2.45 -r 1.79.2.46 src/mh.c; cvs diff -u -r 1.9.2.3 -r 1.9.2.4 src/mh.h; cvs diff -u -r 1.16.2.43 -r 1.16.2.44 src/msgcache.c; ) > 2.5.2cvs33.patchset
+( cvs diff -u -r 1.79.2.46 -r 1.79.2.47 src/mh.c; cvs diff -u -r 1.395.2.259 -r 1.395.2.260 src/summaryview.c; ) > 2.5.2cvs34.patchset
MICRO_VERSION=2
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=33
+EXTRA_VERSION=34
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
#include <unistd.h>
#include <string.h>
#include <errno.h>
-
-#undef MEASURE_TIME
-
-#ifdef MEASURE_TIME
-# include <sys/time.h>
-#endif
+#include <time.h>
#include "folder.h"
#include "mh.h"
#include "codeconv.h"
#include "statusbar.h"
#include "gtkutils.h"
+#include "timing.h"
/* Define possible missing constants for Windows. */
#ifdef G_OS_WIN32
FILE *mh_sequences_old_fp, *mh_sequences_new_fp;
gchar buf[BUFFSIZE];
gchar *path = NULL;
-/*
- GTimer *timer = g_timer_new();
- g_timer_start(timer);
-*/
+ START_TIMING("");
+
if (!item)
return;
g_free(mh_sequences_old);
g_free(mh_sequences_new);
g_free(path);
-/*
- g_timer_stop(timer);
- printf("mh_get_flags: %f secs\n", g_timer_elapsed(timer, NULL));
- g_timer_destroy(timer);
-*/
+
+ END_TIMING();
}
static int mh_item_close(Folder *folder, FolderItem *item)
MsgInfo *msginfo;
GtkCTreeNode *node = NULL;
GHashTable *msgid_table;
- GHashTable *subject_table;
+ GHashTable *subject_table = NULL;
GSList * cur;
START_TIMING("");