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

Tomi Ollila tomi.ollila at iki.fi
Sat Jan 4 05:06:38 PST 2014


On Sat, Jan 04 2014, Thomas Klausner <tk at giga.or.at> wrote:

> On Sat, Jan 04, 2014 at 02:46:37PM +0200, Jani Nikula wrote:
>> I guess we should look at realpath() compatibility, but in fairness passing
>> NULL for the second parameter is according to POSIX.1-2008, not glibc
>> extension.
>
> Ah, interesting.
>
> I can file a bug report with NetBSD about that, but in the meantime,
> it causes a coredump. :|

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.

Note that having users' own patches in their systems is not uncommon
at all :D


>
> Thanks,
>  Thomas

Tomi


More information about the notmuch mailing list