MAXPATHLEN

Ross Paterson ross@soi.city.ac.uk
Thu, 17 Apr 2003 05:22:38 +0100


On Tue, Apr 22, 2003 at 03:19:24PM +0100, Ian Lynagh wrote:
> 
> hugs building on the hurd fails as shown at
> 
> http://buildd.debian.org/fetch.php?&pkg=hugs98&ver=98.200109-5&arch=hurd-i386&stamp=1022202037&file=log&as=raw
> 
> I haven't tried the latest source from CVS, but
> http://cvs.haskell.org/cgi-bin/cvsweb.cgi/hugs98/src/machdep.c?rev=1.87&content-type=text/x-cvsweb-markup
> looks like it has the same problem.
> 
> Based on
> http://lists.debian.org/debian-hurd/2002/debian-hurd-200211/msg00085.html
> it looks like you have to support arbitrarily large paths, which should
> hopefully be easily solved with a malloc/free here and there.

OK, so we should use canonicalize_file_name() if available instead of
realpath().  Problem is the "here" and "there" are widely separated --
it's going to be messy.