[PATCH 3/3] notmuch-show: detect xapian exception in query

David Bremner david at tethera.net
Fri Jan 24 16:41:57 PST 2014


Jani Nikula <jani at nikula.org> writes:
>
> This should just return 1 or something. See how the function eventually
> returns res != NOTMUCH_STATUS_SUCCESS instead of notmuch_status_t. And
> threads == NULL is not guaranteed to mean an exception occurred anyway.
>
> Otherwise the patch LGTM, and is in line with the error handling in
> notmuch search, which does not segfault on similar queries.

pushed a version amended as suggested.

d


More information about the notmuch mailing list