Re: [PATCH v3 08/10] notmuch-config: use strchr(), not index() (Solaris support)

Subject: Re: [PATCH v3 08/10] notmuch-config: use strchr(), not index() (Solaris support)

Date: Sat, 24 Aug 2013 11:41:05 +0200

To: Blake Jones, notmuch@notmuchmail.org

Cc:

From: David Bremner


Blake Jones <blakej@foo.net> writes:

> notmuch-config.c has the only use of the function named "index()" in the
> notmuch source.  Several other places use the equivalent function
> "strchr()"; this patch just fixes notmuch-config.c to use strchr()
> instead.  (Solaris needs to include <strings.h> to get the prototype for
> index(), and notmuch-config.c was failing to include that header, so it
> wasn't compiling as-is.)

Pushed this patch, sorry about the delay

d

Thread: