bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Inconsistency in attribute.c


From: Sergey Poznyakoff
Subject: Inconsistency in attribute.c
Date: Sat, 30 Jun 2001 13:56:28 +0300

Bonjour,

Every attribute_set_.* function sets MU_ATTRIBUTE_MODIFIED bit in
attr->flags, but does not do the same when calling attr->_set_flags().
>From the other hand, every attribute_is_.* function calls
attr->_get_flags (attr, &(attr->flags)) and thus clears
MU_ATTRIBUTE_MODIFIED bit.

If we do attribute_set_deleted() and attribute_is_deleted(),
a subsequent call to mbox_expunge() will not remove the message
since the function relies on MU_ATTRIBUTE_MODIFIED being set
on deleted messages.

Should we make every attribute_set_.* set MU_ATTRIBUTE_MODIFIED in
_set_flags call as well, or am I missing something?

au revoir,
Sergey





reply via email to

[Prev in Thread] Current Thread [Next in Thread]