On Sat, Jan 04 2014, Thomas Klausner <tk@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