aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-client.h
diff options
context:
space:
mode:
authorGravatar Bart Trojanowski <bart@jukie.net>2009-11-22 11:19:31 -0500
committerGravatar Carl Worth <cworth@cworth.org>2009-11-23 04:37:01 +0100
commitceee152fca2be5cec9dd5873748539ff2642c91b (patch)
tree8c94e54f2ffb00626dafed114a518aecbf66a89a /notmuch-client.h
parent369b44103d5fb5db6c3915dc45de83588395c1b9 (diff)
fix notmuch-new bug when database path ends with a trailing /
I configured my database.path with a trailing /, and after running notmuch new every notmuch search would fail with error messages like this: Error opening /inbox/cur/1258565257.000211.mbox:2,S: No such file or directory The actual bug was in the filename normalization for storage in the database. The database.path was removed from the full filename, but if the database.path from the config file contained a trailing /, the relative file name would retain an extra leading /... which made it look like an absolute path after it was read out from the DB. Signed-off-by: Bart Trojanowski <bart@jukie.net>
Diffstat (limited to 'notmuch-client.h')
0 files changed, 0 insertions, 0 deletions