Tom Tromey wrote:
> >>>>> "Gary" == Gary Benson <[EMAIL PROTECTED]> writes:
> 
> Gary> It's possible, I suppose, but it seems over-complex when libgcj
> Gary> manages to sidestep the PATH_MAX thing just fine with:
> Gary>   #ifndef MAXPATHLEN
> Gary>    #define MAXPATHLEN 4096
> Gary>   #endif
> 
> Yeah, I suppose so.
> 
> Gary> Also, aren't malloc/realloc and friends slow calls?
> 
> Not compared to readlink.

Ok, so I posted an updated patch to the gcj patches list that does
dynamic allocation.  If/when that's accepted there I'll port it to
Classpath.

Cheers,
Gary

Reply via email to