]> git.notmuchmail.org Git - notmuch/commit - lib/open.cc
lib/open: support XDG_DATA_HOME as a fallback database location.
authorDavid Bremner <david@tethera.net>
Mon, 4 Jan 2021 00:04:46 +0000 (20:04 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 20 Mar 2021 10:43:09 +0000 (07:43 -0300)
commitc82554193d0a0c288ad49e3d4fb8c949b92f71fa
treed917176e6a8aad6baab49f785d4e0ffda9662c0f
parent2c879667b3c9d51eb23f53c040acce341d75920b
lib/open: support XDG_DATA_HOME as a fallback database location.

This changes some error reporting, either intentionally by reporting
the highest level missing directory, or by side effect from looking in
XDG locations when given null database location.
lib/open.cc
test/T055-path-config.sh
test/T560-lib-error.sh
test/T590-libconfig.sh