aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-11-11 02:55:13 -0800
committerCarl Worth <cworth@cworth.org>2010-11-11 03:40:19 -0800
commit404db1de90f6e5a66c34077b38b18a39c955ece2 (patch)
tree96e019d068f30a87e50a436052093494382c085c /test
parent38d82b07c4462d2b3e4bc1ad3d24586be348db1d (diff)
maildir_flags_to_tags: Avoid interpreting "no info" as "no flags set".
If a filename has no maildir info at all, (that is, it does not contain the sequence ":2,"), we consider this distinct from a filename with an empty maildir info, (the ":2," separator is present, but no flags characters follow). Specifically, we regard a missing info field as providing no information, so tags will remain unchanged. On the other hand, an info field that is present but has no flags set will cause various tags to be cleared, (or in the case of "unread", added). This fixes the "remove info" case of the maildir-sync tests in the test suite.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions