[Patch v2 2/9] notmuch-tag.c: convert to use tag-utils
[notmuch-archives.git] / f9 / 56c356080d9ee0e1aadd092125f0202f16d90b
1 Return-Path: <tomi.ollila@iki.fi>\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 8B8F1431FAF\r
6         for <notmuch@notmuchmail.org>; Thu, 15 Nov 2012 07:55:15 -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 KO2Z0SEp6QyW for <notmuch@notmuchmail.org>;\r
16         Thu, 15 Nov 2012 07:55:15 -0800 (PST)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id 1DB1E431FAE\r
19         for <notmuch@notmuchmail.org>; Thu, 15 Nov 2012 07:55:15 -0800 (PST)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21         by guru.guru-group.fi (Postfix) with ESMTP id 7E4AA1000E2;\r
22         Thu, 15 Nov 2012 17:55:14 +0200 (EET)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: Blake Jones <blakej@foo.net>, notmuch@notmuchmail.org\r
25 Subject: Re: [PATCH v3 00/10] Solaris support\r
26 In-Reply-To: <1352859005-18631-1-git-send-email-blakej@foo.net>\r
27 References: <1352859005-18631-1-git-send-email-blakej@foo.net>\r
28 User-Agent: Notmuch/0.14+84~g8a199bf (http://notmuchmail.org) Emacs/24.2.1\r
29         (x86_64-unknown-linux-gnu)\r
30 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
31         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
32         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
33 Date: Thu, 15 Nov 2012 17:55:14 +0200\r
34 Message-ID: <m2haoqx3ml.fsf@guru.guru-group.fi>\r
35 MIME-Version: 1.0\r
36 Content-Type: text/plain; charset=utf-8\r
37 Content-Transfer-Encoding: quoted-printable\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Thu, 15 Nov 2012 15:55:15 -0000\r
51 \r
52 On Wed, Nov 14 2012, Blake Jones wrote:\r
53 \r
54 > Updated based on comments from Tomi Ollila last week:\r
55 >\r
56 > - Cleaned up the $(INSTALL) changes in vim/Makefile.\r
57 > - Fixed gen-version-script to be compliant with old "sh" implementation.\r
58 \r
59 Ok -- tests on linux reveal...\r
60 \r
61 Checking for strsep... No (will use our own instead).\r
62 \r
63 and\r
64 \r
65 Checking for standard version of asctime_r... No (will define\r
66 _POSIX_PTHREAD_SEMANTICS to get it).\r
67 \r
68 testing...\r
69 \r
70 $ gcc compat/have_strsep.c\r
71 compat/have_strsep.c: In function =E2=80=98main=E2=80=99:\r
72 compat/have_strsep.c:7:21: error: expected identifier or =E2=80=98(=E2=80=\r
73 =99 before =E2=80=98const=E2=80=99\r
74 compat/have_strsep.c:9:29: error: =E2=80=98delim=E2=80=99 undeclared (first=\r
75  use in this\r
76 function)\r
77 compat/have_strsep.c:9:29: note: each undeclared identifier is reported\r
78 only once for each function it appears in\r
79 zsh: exit 1     gcc compat/have_strsep.c\r
80 \r
81 \r
82 --- It is very easy to spot the problem ;)\r
83 \r
84 $ gcc compat/check_asctime.c\r
85 compat/check_asctime.c: In function =E2=80=98main=E2=80=99:\r
86 compat/check_asctime.c:15:5: error: too many arguments to function\r
87 =E2=80=98asctime_r=E2=80=99\r
88 In file included from compat/check_asctime.c:8:0:\r
89 /usr/include/time.h:266:14: note: declared here\r
90 zsh: exit 1     gcc compat/check_asctime.c\r
91 \r
92 --- the posix-semantics way uses the 2-arg format.=20\r
93 \r
94 The logic of the test setting in this file doesn't open to\r
95 me. Why not test the same way as in getpwuid_r() case ?\r
96 \r
97 Tomi\r