]> git.cworth.org Git - notmuch/commit
notmuch-dump.c: Fix output file being closed twice
authorRalph Seichter <abbot@monksofcool.net>
Tue, 23 Jul 2019 20:48:23 +0000 (22:48 +0200)
committerDavid Bremner <david@tethera.net>
Wed, 27 Nov 2019 12:00:00 +0000 (08:00 -0400)
commita11b2f0f2d984b7f5974aff01c9fa80718449766
treeab69afd698d6c568b10613e1cd8ffb6b385077f6
parent8e2251484214d39bdb4872216239bd38eb7729ab
notmuch-dump.c: Fix output file being closed twice

Fixed: If the output file for a dump was non-writeable, gzclose_w()
was called twice on the output file handle, resulting in SIGABRT.

(cherry picked from commit 17806ecc955ce0375146ea1df51eae061a72bef8)
notmuch-dump.c