<<< Date Index >>>     <<< Thread Index >>>

Re: What's needed for mutt 1.6? (compressed folders)



Re: To Mutt Developers 2007-02-26 <20070226174358.GI4762@xxxxxxxx>
> (And there could be a check that the mtime of the folder is still the
> same - which might already be there, didn't check.)

Looking into the patch it does check the original folder:

int mutt_check_mailbox_compressed (CONTEXT* ctx)
{
  COMPRESS_INFO *ci = (COMPRESS_INFO *) ctx->compressinfo;
  if (ci->size != get_size (ctx->realpath))
  {
    FREE (&ctx->compressinfo);
    FREE (&ctx->realpath);
    mutt_error _("Mailbox was corrupted!");
    return (-1);
  }
  return (0);
}

So that moves "possible mail loss" to "error message printed, but mutt
doesn't fix the problem itself".

Christoph
-- 
cb@xxxxxxxx | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature