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

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

Date: Fri, 24 Jan 2014 20:41:57 -0400

To: Jani Nikula, notmuch@notmuchmail.org

Cc:

From: David Bremner


Jani Nikula <jani@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

Thread: