notmuch_message* error handling cleanup part II

Subject:notmuch_message* error handling cleanup part II

Date:Wed, 25 May 2022 07:51:11 -0300

To:notmuch@notmuchmail.org

Cc:

From:David Bremner


This is a continuation of the series [1]. It should in principle be
applicable to master, but I have not tried resolving the resulting
conflicts.

The big picture change here is having
_notmuch_database_ensure_writable check for the database being
open. The "open" flag was added for some other reason (config related
iirc), but now that we have it, we may as well use it to make certain
failures more atomic.


[1]: id:20220523233901.3506880-1-david@tethera.net


_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: