Re: notmuch-0.16: realpath() compatibility issue; clang visibility problem

Subject: Re: notmuch-0.16: realpath() compatibility issue; clang visibility problem

Date: Sun, 5 Jan 2014 00:53:25 +0200

To: Thomas Klausner

Cc: Notmuch Mail

From: Jani Nikula


On Jan 5, 2014 12:38 AM, "Thomas Klausner" <tk@giga.or.at> wrote:
>
> On Sat, Jan 04, 2014 at 09:18:15AM -0400, David Bremner wrote:
> > I'm not sure what the right answer is here. MATHPATHLEN (and PATH_MAX)
> > are not necessarily defined; in particular this would break
> > compilation on GNU Hurd. Perhaps we should ship a compatibility
> > implementation of a POSIX.1-2008 compatible [1] realpath. Or maybe
> > realpath can be avoided completely here.
>
> A compatibility implementation for POSIX.1-2008-realpath would be
> great, as would be avoiding the call. Why is it necessary to resolve
> $HOME here?

realpath is used to follow, not overwrite symlinks.

Thread: