[PATCH 0/2] Compose <get-attach> fixes.

"Kevin J. McCarthy" <[email protected]>
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
The first one is a revision of the one I sent out yesterday, changed
to invoke two different functions rather than add a flag parameter.

The second one fixes deletion handling of the <get-attach> attachments
if the compose is aborted.  The current code has a protection flag,
unowned, to avoid deleting an attachment (flagged for deletion) if
compose is aborted.  This wasn't being turned off when <get-attach>
was called.  Which means those attachments would be left sitting in
$tmpdraftdir.

These are currently against master, but I'm thinking of pushing them
to stable instead to include in the upcoming stable release (probably
this weekend).

Kevin J. McCarthy (2):
  Fix <get-attachment> to use $tmpdraftdir.
  Fix <get-attachment> to remove attachments upon compose abort.

 attach.c  | 18 +++++++++---------
 compose.c | 15 +++++++++------
 handler.c |  2 +-
 rfc1524.c | 26 +++++++++++++++++++++++---
 rfc1524.h |  3 ++-
 5 files changed, 44 insertions(+), 20 deletions(-)

-- 
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.