[PATCH v3 0/3] Create and use $tmpdraftdir for composing

"Kevin J. McCarthy" <[email protected]>
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
This version changes $tmpdraftdir to use the $TMPDIR env var if set,
like $tmpdir.  If unset, it defaults to /var/tmp.

It also updates the mutt.man page and manual to mention $tmpdraftdir in
security notes > temporary files.

Thanks to Fabian for pointing out MacOS wipes /var/tmp on reboot, and
for Claus Assmann for pointing out the same for OpenBSD.  That's a
shame, but I think but I think it's still worth making this change for
those systems that respect the intended use of /var/tmp.

Kevin J. McCarthy (3):
  Remove unused non-buffer tempdir functions.
  Clean up tempdir definitions and file locations.
  Add $tmpdraftdir for composing messages.

 doc/manual.xml.head |  3 ++-
 doc/mutt.man        |  6 ++---
 globals.h           |  1 +
 headers.c           |  2 +-
 init.c              |  1 +
 init.h              | 14 ++++++++++-
 main.c              |  2 +-
 muttlib.c           | 58 ++++++++++++++++-----------------------------
 postpone.c          |  2 +-
 protos.h            | 17 +++++++------
 recvcmd.c           |  6 ++---
 send.c              |  2 +-
 12 files changed, 57 insertions(+), 57 deletions(-)

-- 
2.53.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.