Hiroshima,

I'm sad to say that this patch is not safe and should not be applied yet.  
There is a problem with guaranteeing message name uniqueness and that may
cause messages to disappear.

Storing messages in cur/ directly has been discussed quite a few times 
before on the list, and it is provably not safe.

Storing messages with flags in new/ is a new concept, but it suffers from
the exact same problem - since the message name under new/ is no longer
guaranteed to be unique, the message may be lost.

The only safe approach to COPY/APPEND with flags is to store the messages 
in new/ with no flags, then move the messages to cur/ with flags after one 
whole second has passed. I'm looking into this solution now.

Andy :-)

On Fri, 30 May 2003, HIROSHIMA Naoki wrote:

>hi there,
>
>this patch fixes the problem that binc clears up preserved flags when 
>copying or moving messages.
>
>although it might not be critical issue right now, i don't like binc to 
>have such an easy issue to be pointed out.
>
>-- Hiroshima
>
>

-- 
Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP    | Nil desperandum


Reply via email to