Re: [PATCH v4 01/16] add util/search-path.{c, h} to test for executables in $PATH
[notmuch-archives.git] / 1d / 9b2fd02ca6d3d1d2564b675d28fc0f13f1fbc3
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 8AEE4431FC0\r
6         for <notmuch@notmuchmail.org>; Sat,  4 Jan 2014 05:06:54 -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 fekfjVMx167Q for <notmuch@notmuchmail.org>;\r
16         Sat,  4 Jan 2014 05:06:46 -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 A59C2431FBD\r
19         for <notmuch@notmuchmail.org>; Sat,  4 Jan 2014 05:06:46 -0800 (PST)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21         by guru.guru-group.fi (Postfix) with ESMTP id 26F931000B2;\r
22         Sat,  4 Jan 2014 15:06:39 +0200 (EET)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: Thomas Klausner <tk@giga.or.at>\r
25 Subject: Re: notmuch-0.16: realpath() compatibility issue;\r
26         clang visibility problem\r
27 In-Reply-To: <20140104125358.GW27614@danbala.tuwien.ac.at>\r
28 References: <20140103214735.GG27614@danbala.tuwien.ac.at>\r
29         <CAB+hUn-8eyY07y3j1N3JJLQ3qWVEVPoGWHcUVkovg34xH0ZOwQ@mail.gmail.com>\r
30         <sfid-H20140104-134644-+055.78-1@spamfilter.osbf.lua>\r
31         <CAB+hUn-ov+2roT-tVTcjuPbckiTkRPtUxazfmY1KFeeVoMQJCA@mail.gmail.com>\r
32         <20140104125358.GW27614@danbala.tuwien.ac.at>\r
33 User-Agent: Notmuch/0.17+13~gdfcf116 (http://notmuchmail.org) Emacs/24.3.1\r
34         (x86_64-unknown-linux-gnu)\r
35 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
36         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
37         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
38 Date: Sat, 04 Jan 2014 15:06:38 +0200\r
39 Message-ID: <m2eh4n521t.fsf@guru.guru-group.fi>\r
40 MIME-Version: 1.0\r
41 Content-Type: text/plain\r
42 Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Sat, 04 Jan 2014 13:06:54 -0000\r
56 \r
57 On Sat, Jan 04 2014, Thomas Klausner <tk@giga.or.at> wrote:\r
58 \r
59 > On Sat, Jan 04, 2014 at 02:46:37PM +0200, Jani Nikula wrote:\r
60 >> I guess we should look at realpath() compatibility, but in fairness passing\r
61 >> NULL for the second parameter is according to POSIX.1-2008, not glibc\r
62 >> extension.\r
63 >\r
64 > Ah, interesting.\r
65 >\r
66 > I can file a bug report with NetBSD about that, but in the meantime,\r
67 > it causes a coredump. :|\r
68 \r
69 The linux namual page (*) has good explanation of this in the BUGS section\r
70 \r
71 (*) http://man7.org/linux/man-pages/man3/realpath.3.html\r
72 \r
73 \r
74 After reading that I think fixing that is not as simple as your previous\r
75 patch does it -- so probably you just have to keep patching your system\r
76 until NetBSD library realpath() is POSIX.1-2008 -compatible.\r
77 \r
78 Note that having users' own patches in their systems is not uncommon\r
79 at all :D\r
80 \r
81 \r
82 >\r
83 > Thanks,\r
84 >  Thomas\r
85 \r
86 Tomi\r