summaryrefslogtreecommitdiff
path: root/mh/tests
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-04-01 21:00:25 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2013-04-01 21:00:25 +0300
commitd9ddd27acef16ebbb44a0fc096fe86fedab5399d (patch)
tree0673ae0ef75c0b5f993f92eb42ee0eb015f53edd /mh/tests
parent796d9aef17c932732aa9fa79602f8955ac8f7454 (diff)
downloadmailutils-d9ddd27acef16ebbb44a0fc096fe86fedab5399d.tar.gz
mailutils-d9ddd27acef16ebbb44a0fc096fe86fedab5399d.tar.bz2
MH: Synchronize sequences after removal of messages.
* include/mailutils/msgset.h (mu_msgset_sget_mailbox): New proto. * include/mailutils/sys/msgset.h (_MU_MSGSET_MODE): New macro. * libmailutils/msgset/Makefile.am: Add getmbox.c * libmailutils/msgset/getmbox.c: New file. * libmailutils/msgset/addset.c: Use _MU_MSGSET_MODE. * libmailutils/msgset/create.c: Likewise. * libmailutils/msgset/foreachmsg.c: Likewise. * libmailutils/msgset/foreachnum.c: Likewise. * libmailutils/msgset/negate.c: Likewise. * libmailutils/msgset/subset.c: Likewise. * libmailutils/msgset/trans.c: Likewise. * mh/mh.h (mh_private_sequences_iterate): New proto. * mh/mh_sequence.c (format_closure) <delim>: New member. (format_sequence): Use delim to avoid outputting leading space. (save_sequence): Initialize delim. (mh_private_sequences_iterate): New function. * mh/rmm.c (main): Remove message numbers from sequences. * mh/tests/rmm.at: Update.
Diffstat (limited to 'mh/tests')
-rw-r--r--mh/tests/rmm.at1
1 files changed, 0 insertions, 1 deletions
diff --git a/mh/tests/rmm.at b/mh/tests/rmm.at
index 69cd815cb..331200ff6 100644
--- a/mh/tests/rmm.at
+++ b/mh/tests/rmm.at
@@ -45,7 +45,6 @@ sed '/^$/d' Mail/inbox/.mh_sequences
[0],
[Mail/inbox/1
Mail/inbox/4
-test: 2 3 5
cur: 1
])

Return to:

Send suggestions and report system problems to the System administrator.