On Wed, 9 Jun 2004, Tomas Pospisek's Mailing Lists wrote:
> Second question:
> some of my MH users say that re-mail_open'ing a MH store will make it
> forget all all removal flags.
>
> Is this a known bug/problem/feature. Is there a work around or should I
> try to fix c-clients source with respect to this?
osdep/unix/mh.c says:
void mh_check (MAILSTREAM *stream)
{
/* Perhaps in the future this will preserve flags */
if (mh_ping (stream)) mm_log ("Check completed",(long) NIL);
}
So I guess the problem is known.
But I don't understand what would be required to fix it. I can't see
the big picture. AFAI can see mh_ping is not changing the status of
messages.
So do you flag messages in memory or something similar when marking them
for deletion? And so a mh_ping doesn't take in memory structures in
account and only checks "on disk" messages and by this invalidates in
memory information? But even then - I don't see mh_ping flushing any in
memory data? So where do those flags get lost?
*t
--
-----------------------------------------------------------
Tomas Pospisek
http://sourcepole.com - Linux & Open Source Solutions
-----------------------------------------------------------
--
------------------------------------------------------------------
For information about this mailing list, and its archives, see:
http://www.washington.edu/imap/c-client-list.html
------------------------------------------------------------------