Re: notmuch-0.16: realpath() compatibility issue; clang visibility problem
authorJani Nikula <jani@nikula.org>
Sat, 4 Jan 2014 22:53:25 +0000 (00:53 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:58:53 +0000 (09:58 -0800)
76/28693bd69c42aa0cf6d2ecf8af8322806de313 [new file with mode: 0644]

diff --git a/76/28693bd69c42aa0cf6d2ecf8af8322806de313 b/76/28693bd69c42aa0cf6d2ecf8af8322806de313
new file mode 100644 (file)
index 0000000..f7e169b
--- /dev/null
@@ -0,0 +1,106 @@
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 1DC55431FC0\r
+       for <notmuch@notmuchmail.org>; Sat,  4 Jan 2014 14:53:35 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.699\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
+       tests=[HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id VjpXVZTDX4hE for <notmuch@notmuchmail.org>;\r
+       Sat,  4 Jan 2014 14:53:27 -0800 (PST)\r
+Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com\r
+       [209.85.128.182]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id E51D4431FBD\r
+       for <notmuch@notmuchmail.org>; Sat,  4 Jan 2014 14:53:26 -0800 (PST)\r
+Received: by mail-ve0-f182.google.com with SMTP id jy13so8683093veb.13\r
+       for <notmuch@notmuchmail.org>; Sat, 04 Jan 2014 14:53:26 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:mime-version:in-reply-to:references:date\r
+       :message-id:subject:from:to:cc:content-type;\r
+       bh=8Xv9pJDuU2pgYNcoQzTvWNdVP30H9sS29wC380egCNk=;\r
+       b=NXeB9K7P8wo5pjMg+gTB7RYgICWTr0NqK26SaC/vszG8t0Ec/QmzdKXYfUuoL4ZGIk\r
+       aqEi0kxVbSlCu5KWwsBs3mFVFqwqgMxCvrSnn3uFg/EZMG2dBXS59nfCPfvKhP0Dw7hs\r
+       PSOa7meyPl2wM3J/zhgRm0cjjgz37ceJRPXxQQi0uSp3tVURbU8c1Uhv0uARrPB5v0wD\r
+       EV+z03KjVlURO7o+79q/5kp9hLLqY8v7zGEodR9XikI9Zvkj1zJ55usKyUjE5Bqs7mgH\r
+       +Z31ac37s2FQXLzhtpe8mDhLZaSK1Jb/LD5Muqj6UINRVkc26sFaXQp3U1aRZ1XBX8OS\r
+       Ia+g==\r
+X-Gm-Message-State:\r
+ ALoCoQkJmPUObs4W/S9SF9IRP0WBu6OrWwwwY09Po/t47cYnZQ/avMOiYEsuuhSBOC+oheFwg6jH\r
+MIME-Version: 1.0\r
+X-Received: by 10.58.57.194 with SMTP id k2mr17294685veq.0.1388876005180; Sat,\r
+       04 Jan 2014 14:53:25 -0800 (PST)\r
+Received: by 10.58.143.6 with HTTP; Sat, 4 Jan 2014 14:53:25 -0800 (PST)\r
+Received: by 10.58.143.6 with HTTP; Sat, 4 Jan 2014 14:53:25 -0800 (PST)\r
+In-Reply-To: <20140104223742.GC16514@danbala.tuwien.ac.at>\r
+References: <20140103214735.GG27614@danbala.tuwien.ac.at>\r
+       <sfid-H20140104-145824-+018.98-1@spamfilter.osbf.lua>\r
+       <871u0nnaw8.fsf@zancas.localnet>\r
+       <20140104223742.GC16514@danbala.tuwien.ac.at>\r
+Date: Sun, 5 Jan 2014 00:53:25 +0200\r
+Message-ID:\r
+ <CAB+hUn8FhAfpGBmyULM0RKpcDDOAem2JA_neazAkXh5xFA=kkw@mail.gmail.com>\r
+Subject: Re: notmuch-0.16: realpath() compatibility issue;\r
+       clang visibility problem\r
+From: Jani Nikula <jani@nikula.org>\r
+To: Thomas Klausner <tk@giga.or.at>\r
+Content-Type: multipart/alternative; boundary=001a11369b0eed1d6904ef2ce417\r
+Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 04 Jan 2014 22:53:35 -0000\r
+\r
+--001a11369b0eed1d6904ef2ce417\r
+Content-Type: text/plain; charset=UTF-8\r
+\r
+On Jan 5, 2014 12:38 AM, "Thomas Klausner" <tk@giga.or.at> wrote:\r
+>\r
+> On Sat, Jan 04, 2014 at 09:18:15AM -0400, David Bremner wrote:\r
+> > I'm not sure what the right answer is here. MATHPATHLEN (and PATH_MAX)\r
+> > are not necessarily defined; in particular this would break\r
+> > compilation on GNU Hurd. Perhaps we should ship a compatibility\r
+> > implementation of a POSIX.1-2008 compatible [1] realpath. Or maybe\r
+> > realpath can be avoided completely here.\r
+>\r
+> A compatibility implementation for POSIX.1-2008-realpath would be\r
+> great, as would be avoiding the call. Why is it necessary to resolve\r
+> $HOME here?\r
+\r
+realpath is used to follow, not overwrite symlinks.\r
+\r
+--001a11369b0eed1d6904ef2ce417\r
+Content-Type: text/html; charset=UTF-8\r
+\r
+<p dir="ltr"><br>\r
+On Jan 5, 2014 12:38 AM, &quot;Thomas Klausner&quot; &lt;<a href="mailto:tk@giga.or.at">tk@giga.or.at</a>&gt; wrote:<br>\r
+&gt;<br>\r
+&gt; On Sat, Jan 04, 2014 at 09:18:15AM -0400, David Bremner wrote:<br>\r
+&gt; &gt; I&#39;m not sure what the right answer is here. MATHPATHLEN (and PATH_MAX)<br>\r
+&gt; &gt; are not necessarily defined; in particular this would break<br>\r
+&gt; &gt; compilation on GNU Hurd. Perhaps we should ship a compatibility<br>\r
+&gt; &gt; implementation of a POSIX.1-2008 compatible [1] realpath. Or maybe<br>\r
+&gt; &gt; realpath can be avoided completely here.<br>\r
+&gt;<br>\r
+&gt; A compatibility implementation for POSIX.1-2008-realpath would be<br>\r
+&gt; great, as would be avoiding the call. Why is it necessary to resolve<br>\r
+&gt; $HOME here?</p>\r
+<p dir="ltr">realpath is used to follow, not overwrite symlinks.<br></p>\r
+\r
+--001a11369b0eed1d6904ef2ce417--\r