]> 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>
Tue, 23 Jul 2019 22:20:18 +0000 (19:20 -0300)
commit17806ecc955ce0375146ea1df51eae061a72bef8
treef664e4334a716586db819c07f7ce894729419a15
parent8de94981677e57343b7b2dfc9e1036730ce708fc
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.
notmuch-dump.c