]> git.notmuchmail.org Git - notmuch/commit
lib: reject relative paths in n_d_{create,open}_verbose
authorDavid Bremner <david@tethera.net>
Mon, 8 Jun 2015 06:02:22 +0000 (08:02 +0200)
committerDavid Bremner <david@tethera.net>
Fri, 12 Jun 2015 05:34:50 +0000 (07:34 +0200)
commit32fd74b7aa9c24ec77f8c59d09f89e0535bf64cd
treeb457ce7f91011cbfafa70c908d682a7a3a87eaf3
parentb59ad1a9cc6ea03764b1cd3d038920581ac5a9c4
lib: reject relative paths in n_d_{create,open}_verbose

There are many places in the notmuch code where the path is assumed to be absolute. If someone (TM) wants a project, one could remove these assumptions. In the mean time, prevent users from shooting themselves in the foot.

Update test suite mark tests for this error as no longer broken, and
also convert some tests that used relative paths for nonexistent
directories.
NEWS
lib/database.cc
test/T360-symbol-hiding.sh
test/T560-lib-error.sh
test/symbol-test.cc