Re: [PATCH 08/10] notmuch-config: header for index() prototype (Solaris support)
[notmuch-archives.git] / 67 / cf4850bec36b5a5deba864d61b6c865acecfc3
1 Return-Path: <blakej@foo.net>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id B911C431FAF\r
6         for <notmuch@notmuchmail.org>; Sun,  4 Nov 2012 20:53:07 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id rpZvVxgz907H for <notmuch@notmuchmail.org>;\r
16         Sun,  4 Nov 2012 20:53:07 -0800 (PST)\r
17 Received: from foo.net (70-36-235-136.dsl.static.sonic.net [70.36.235.136])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 31100431FAE\r
21         for <notmuch@notmuchmail.org>; Sun,  4 Nov 2012 20:53:07 -0800 (PST)\r
22 Received: from foo.net (localhost [127.0.0.1])\r
23         by foo.net (8.14.5+Sun/8.14.5) with ESMTP id qA54qxmv004983;\r
24         Sun, 4 Nov 2012 20:52:59 -0800 (PST)\r
25 To: Tomi Ollila <tomi.ollila@iki.fi>\r
26 Subject: Re: [PATCH 08/10] notmuch-config: header for index() prototype\r
27         (Solaris support) \r
28 In-Reply-To: Your message of "Sun, 04 Nov 2012 23:47:15 +0200."\r
29         <m2pq3tniqk.fsf@guru.guru-group.fi> \r
30 Date: Sun, 04 Nov 2012 20:52:59 -0800\r
31 Message-ID: <4982.1352091179@foo.net>\r
32 From: Blake Jones <blakej@foo.net>\r
33 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2\r
34         (foo.net [127.0.0.1]); Sun, 04 Nov 2012 20:52:59 -0800 (PST)\r
35 Cc: notmuch@notmuchmail.org\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.13\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40         <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Mon, 05 Nov 2012 04:53:07 -0000\r
49 \r
50 >> On Sun, 04 Nov 2012, Blake Jones <blakej@foo.net> wrote:\r
51 >>> Linux, FreeBSD, and Solaris all expect to find the prototype for\r
52 >>> "index()" in <strings.h>.  On some operating systems, including\r
53 >>> <string.h> is sufficient to get the prototype, but that's not the case\r
54 >>> on Solaris.  This patch just modifies notmuch-config.c to include\r
55 >>> <strings.h> to get the prototype.\r
56 >>\r
57 >> We should probably just nuke index() and use strchr() instead.\r
58\r
59 > indeed!\r
60 \r
61 That was my initial preference, but I didn't know if there was anyone\r
62 who was committed to the BSD name.  Given that two more people think\r
63 it's a good idea, I'll do that instead.\r
64 \r
65 Blake\r