[notmuch] [PATCH] fix notmuch-new bug when database path ends with a trailing /

2009-11-23 Thread Carl Worth
On Sun, 22 Nov 2009 11:19:31 -0500, Bart Trojanowski wrote: > 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

[notmuch] [PATCH] fix notmuch-new bug when database path ends with a trailing /

2009-11-22 Thread Bart Trojanowski
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