On Jan 5, 2014 12:38 AM, "Thomas Klausner" 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.