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