]> git.notmuchmail.org Git - notmuch/commit
lib/load_config: document expectations for db on error, add tests
authorDavid Bremner <david@tethera.net>
Sat, 23 Oct 2021 13:22:37 +0000 (10:22 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 30 Oct 2021 16:49:37 +0000 (13:49 -0300)
commit8f0b84789d4fda0182e073b68b73160c9b94a4b7
tree30d3a2f9f0ecf651a516064493c1349855949f75
parent2ba50b52302dce08068843e0029f9ee935a0d7f3
lib/load_config: document expectations for db on error, add tests

This is a bit different than n_d_{open,create}_with_config, since
there are several non-zero status codes where we do want to return a
non-NULL database structure.
lib/notmuch.h
test/T590-libconfig.sh