]> granicus.if.org Git - neomutt/commit
Convert mbox_mbox_sync() to use buffer pool
authorKevin McCarthy <kevin@8t8.us>
Tue, 15 Oct 2019 05:48:59 +0000 (13:48 +0800)
committerRichard Russon <rich@flatcap.org>
Sat, 26 Oct 2019 22:55:43 +0000 (23:55 +0100)
commit310c569a5d52145ef4bb2cb5fb0db3f5b8da2ec0
treeb5e129f0df549a22e3568979637714db857d3c85
parent4e09c5d6d2364263034aba28c8521b5f4e3a4edd
Convert mbox_mbox_sync() to use buffer pool

Rewrite return (-1) to a new fatal target to ensure cleanup.

Remove some repetitive unlink(tempfile) operations by adding a new
flag pointing when to start and stop that during a bail.

Upstream-commit: https://gitlab.com/muttmua/mutt/commit/5572a3023d19c60529c08a4373e55b640d44cfd3
Co-authored-by: Richard Russon <rich@flatcap.org>
mbox/mbox.c