diff options
author | Kevin McCarthy <kevin@8t8.us> | 2016-11-13 20:02:35 -0800 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2016-11-13 20:02:35 -0800 |
commit | d3705ea8b23de24a63a4b659ead18a0cf6fb756a (patch) | |
tree | 3d506dfe6056d7c085402c2b848a1fc0862120b5 /compress.h | |
parent | f46e648f568c38b57ada874cea87e561e3a235c7 (diff) |
Create mx_ops.sync operation. Refactor compress to use the mx_ops.sync.
Change compress.sync_mailbox() to lock the compressed mailbox around
both the tempfile sync and compress operations. This will prevent
changes made inbetween the two syncs from being overwritten.
Thanks to Damien Riegel for his original patch refactoring
mx_ops.sync, which this patch is partially based upon.
Diffstat (limited to 'compress.h')
-rw-r--r-- | compress.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -23,7 +23,6 @@ void mutt_free_compress_info (CONTEXT *ctx); int mutt_comp_can_append (CONTEXT *ctx); int mutt_comp_can_read (const char *path); -int mutt_comp_sync (CONTEXT *ctx); int mutt_comp_valid_command (const char *cmd); extern struct mx_ops mx_comp_ops; |