Hi, To the attention of those who use MU MH 2.99.98: please try the attached patch. It should speed up the message removal operations.
Regards, Sergey
>From 796d9aef17c932732aa9fa79602f8955ac8f7454 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff <[email protected]> Date: Mon, 1 Apr 2013 12:15:58 +0300 Subject: [PATCH] Bugfix. * libmailutils/base/amd.c (_amd_update_message): Return immediately if the message is not modified. Always use initialized value of flg. --- libmailutils/base/amd.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/libmailutils/base/amd.c b/libmailutils/base/amd.c index 8e563d2..b259270 100644 --- a/libmailutils/base/amd.c +++ b/libmailutils/base/amd.c @@ -1288,7 +1288,9 @@ _amd_update_message (struct _amd_data *amd, struct _amd_message *mhm, flg = mu_message_is_modified (mhm->message); else if (mhm->attr_flags & MU_ATTRIBUTE_MODIFIED) flg = MU_MSG_ATTRIBUTE_MODIFIED; - + else + return 0; + if (!flg) return 0; -- 1.6.0.3
_______________________________________________ Bug-mailutils mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-mailutils
