From 5cae3f0658857f8ccf8aac710364c44bddd7c4ae Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Sat, 4 Jan 2014 14:28:33 +0100 Subject: [PATCH] Re: notmuch-0.16: realpath() compatibility issue; clang visibility problem --- 48/21cbb9e8c878e95f2e4c5525bddcd981531b0b | 73 +++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 48/21cbb9e8c878e95f2e4c5525bddcd981531b0b diff --git a/48/21cbb9e8c878e95f2e4c5525bddcd981531b0b b/48/21cbb9e8c878e95f2e4c5525bddcd981531b0b new file mode 100644 index 000000000..4e2e26b0d --- /dev/null +++ b/48/21cbb9e8c878e95f2e4c5525bddcd981531b0b @@ -0,0 +1,73 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id F130C431FC0 + for ; Sat, 4 Jan 2014 05:28:41 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 1GdJ4+2HSXQn for ; + Sat, 4 Jan 2014 05:28:34 -0800 (PST) +Received: from danbala.ifoer.tuwien.ac.at (danbala.ifoer.tuwien.ac.at + [128.130.168.64]) + by olra.theworths.org (Postfix) with ESMTP id 0823C431FBD + for ; Sat, 4 Jan 2014 05:28:34 -0800 (PST) +Received: by danbala.ifoer.tuwien.ac.at (Postfix, from userid 116) + id 669F6390DA4; Sat, 4 Jan 2014 14:28:33 +0100 (CET) +Date: Sat, 4 Jan 2014 14:28:33 +0100 +From: Thomas Klausner +To: Tomi Ollila +Subject: Re: notmuch-0.16: realpath() compatibility issue; clang visibility + problem +Message-ID: <20140104132833.GZ27614@danbala.tuwien.ac.at> +References: <20140103214735.GG27614@danbala.tuwien.ac.at> + + + <20140104125358.GW27614@danbala.tuwien.ac.at> + + +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +In-Reply-To: +Cc: Notmuch Mail +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 04 Jan 2014 13:28:42 -0000 + +On Sat, Jan 04, 2014 at 03:06:38PM +0200, Tomi Ollila wrote: +> The linux namual page (*) has good explanation of this in the BUGS section +> +> (*) http://man7.org/linux/man-pages/man3/realpath.3.html +> +> After reading that I think fixing that is not as simple as your previous +> patch does it -- so probably you just have to keep patching your system +> until NetBSD library realpath() is POSIX.1-2008 -compatible. + +Ok, so it's not that easy in general. On the other hand, I wonder how +many systems support POSIX.1-2008 realpath() :) + +> Note that having users' own patches in their systems is not uncommon +> at all :D + +I've filed a bug report in the meantime: +http://gnats.netbsd.org/48497 + +Thanks for the comments, + Thomas -- 2.26.2