]> git.notmuchmail.org Git - notmuch/commit
notmuch_database_create/open: Fix to handle NULL as documented.
authorCarl Worth <cworth@cworth.org>
Tue, 20 Oct 2009 16:56:25 +0000 (09:56 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 20 Oct 2009 16:58:40 +0000 (09:58 -0700)
commit55c8ee9a862f8f25be84adb591564b3777d88135
treea59eb08ca8615a241c621404007f6d7a9f6c2cf2
parented6ee7330d28c65cb3990cbe4a5ac6182bf23402
notmuch_database_create/open: Fix to handle NULL as documented.

When documenting these functions I described support for a
NOTMUCH_BASE environment variable to be consulted in the case
of a NULL path. Only, I had forgotten to actually write the
code.

This code exists now, with a new, exported function:

     notmuch_database_default_path
database.cc
notmuch.c
notmuch.h