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

Re: compose.c,v 3.23



On 2005-08-02 00:18:04 -0700, Brendan Cully wrote:

> On Tuesday, 02 August 2005 at 09:12, Thomas Roessler wrote:
> > >   * compose.c: Don't unlink attachments that you've decided
> > >   not to send. (closes #1328)
> > 
> > +++ compose.c       2 Aug 2005 01:13:25 -0000       3.23
> > @@ -814,6 +814,7 @@
> >  
> >        case OP_DELETE:
> >     CHECK_COUNT;
> > +        idx[menu->current]->content->unlink = 0;
> >     if (delete_attachment (menu, &idxlen, menu->current) == -1)
> >       break;
> >     mutt_update_tree (idx, idxlen);

> > This will leak temporary files generated by mutt when somebody
> > deletes, e.g., the body.  I would prefer to back out this change.

> Alright. I guess the thing to do is to add another bit of state to the
> entry, marking whether or not mutt owns the file?

Makes sense.

-- 
Thomas Roessler · Personal soap box at <http://log.does-not-exist.org/>.

Attachment: pgpCHs4S7YiGY.pgp
Description: PGP signature