Re: MAXPATHLEN

Ross Paterson <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.